From d3dec64e1d5dd07b847a6b3320ecb3fac98d09e5 Mon Sep 17 00:00:00 2001 From: ChanTsune <41658782+ChanTsune@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:46:04 +0900 Subject: [PATCH] :alien: Migrate pna 0.18.0 to 0.19.0 --- src/file_manager.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)?