Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/mount/projfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ impl StoredFileReader {
})
.map::<Result<Bytes>, _>(move |entry| {
let content = stored_tree
.block_dir()
.archive
.block_dir
.get_block_content(&entry.hash, monitor.clone())?;

Ok(content.slice((entry.start as usize)..(entry.start + entry.len) as usize))
Expand Down
4 changes: 2 additions & 2 deletions src/stored_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ use crate::*;
/// Read index and file contents for a version stored in the archive.
#[derive(Debug)]
pub struct StoredTree {
band: Band,
archive: Archive,
pub(crate) band: Band,
pub(crate) archive: Archive,
}

impl StoredTree {
Expand Down