make parsing mode configurable

This commit is contained in:
🪞👃🪞 2025-04-05 07:27:12 +03:00
parent 0bdca2da01
commit c55f50162d
2 changed files with 14 additions and 6 deletions

View file

@ -38,7 +38,7 @@ impl Entry {
Ok(Some(Self {
depth,
path: path.to_path_buf().into(),
info: Arc::new(RwLock::new(Metadata::new(path)?)),
info: Arc::new(RwLock::new(Metadata::new(path, false)?)),
}))
}
pub fn is_directory (&self) -> bool {