Skip to content

Commit

Permalink
👽 Migrate pna 0.18.0 to 0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Oct 16, 2024
1 parent 6e153cc commit d3dec64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/file_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub(crate) struct LoadedEntry {
}

pub(crate) struct UnprocessedEntry {
entry: pna::RegularEntry,
entry: pna::NormalEntry,
option: ReadOptions,
}

Expand Down Expand Up @@ -102,7 +102,7 @@ impl File {

fn from_entry<S: Into<String>>(
inode: Inode,
entry: pna::RegularEntry,
entry: pna::NormalEntry,
password: Option<S>,
) -> Self {
let now = SystemTime::now();
Expand Down Expand Up @@ -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)?
Expand Down

0 comments on commit d3dec64

Please sign in to comment.