diff --git a/lib/core/libimagstore/src/file_abstraction/fs.rs b/lib/core/libimagstore/src/file_abstraction/fs.rs index 2c649c22..48c51ebb 100644 --- a/lib/core/libimagstore/src/file_abstraction/fs.rs +++ b/lib/core/libimagstore/src/file_abstraction/fs.rs @@ -159,6 +159,7 @@ impl FileAbstraction for FSFileAbstraction { use walkdir::WalkDir; let i : Result, SE> = WalkDir::new(basepath) + .min_depth(1) .into_iter() .map(|r| { r.map(|e| PathBuf::from(e.path()))