Skip to content

Commit

Permalink
accessors
Browse files Browse the repository at this point in the history
  • Loading branch information
rfuzzo committed Oct 10, 2024
1 parent 73e3c29 commit 8cc449d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/archive/file_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
use crate::io::FromReader;

#[derive(Debug, Clone, Copy)]
pub(crate) struct FileEntry {
pub struct FileEntry {
name_hash_64: u64,
timestamp: u64, //SystemTime,
num_inline_buffer_segments: u32,
Expand Down
4 changes: 2 additions & 2 deletions src/archive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -859,12 +859,12 @@ impl<W: Write + Seek> ZipArchive<W> {
#[derive(Debug, Clone)]
pub struct ZipEntry {
/// FNV1a64 hash of the entry name
hash: u64,
pub hash: u64,
/// Resolved resource path of that entry, this may not be available
name: Option<String>,

/// wrapped internal struct
entry: FileEntry,
pub entry: FileEntry,
segment: FileSegment,
buffers: Vec<FileSegment>,
}
Expand Down

0 comments on commit 8cc449d

Please sign in to comment.