Skip to content

Commit

Permalink
expose sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
rfuzzo committed Oct 10, 2024
1 parent 8cc449d commit 68e1b01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/archive/file_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ impl FileEntry {
self.name_hash_64
}

pub fn sha1_hash(&self) -> [u8; 20] {
self.sha1_hash
}

pub(crate) fn segments_start(&self) -> u32 {
self.segments_start
}
Expand Down

0 comments on commit 68e1b01

Please sign in to comment.