diff --git a/src/file_manager.rs b/src/file_manager.rs index b321800..414bf8d 100644 --- a/src/file_manager.rs +++ b/src/file_manager.rs @@ -18,7 +18,7 @@ pub(crate) struct LoadedEntry { } pub(crate) struct UnprocessedEntry { - entry: pna::RegularEntry, + entry: pna::NormalEntry, option: ReadOptions, } @@ -102,7 +102,7 @@ impl File { fn from_entry>( inode: Inode, - entry: pna::RegularEntry, + entry: pna::NormalEntry, password: Option, ) -> Self { let now = SystemTime::now(); @@ -205,7 +205,7 @@ impl FileManager { self.add_or_update_file(file, parent)?; } } - ReadEntry::Regular(entry) => { + ReadEntry::Normal(entry) => { let parents = entry.header().path().as_path().parent(); let parent = if let Some(parents) = parents { self.make_dir_all(parents, ROOT_INODE)?