@@ -0,0 +1,17 @@
1+diff --git a/sit-core/src/repository.rs b/sit-core/src/repository.rs
2+index ebd357d..074dcc9 100644
3+--- a/sit-core/src/repository.rs
4++++ b/sit-core/src/repository.rs
5+@@ -305,6 +305,12 @@ impl Repository {
6+ let id: String = name.into();
7+ let mut path = self.items_path.clone();
8+ path.push(&id);
9++ #[cfg(all(debug_assertions, target_arch = "aarch64"))] {
10++ use std::io;
11++ if path.is_dir() {
12++ return Err(io::Error::from_raw_os_error(17).into()); // 17 is EEXIST
13++ }
14++ }
15+ fs::create_dir(path)?;
16+ let id = OsString::from(id);
17+ Ok(Item {