mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-08 02:26:42 +01:00
make parsing mode configurable
This commit is contained in:
parent
0bdca2da01
commit
c55f50162d
2 changed files with 14 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue