We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 534eddd + 5ce42ea commit ffaae09Copy full SHA for ffaae09
src/mount/projfs.rs
@@ -57,7 +57,8 @@ impl StoredFileReader {
57
})
58
.map::<Result<Bytes>, _>(move |entry| {
59
let content = stored_tree
60
- .block_dir()
+ .archive
61
+ .block_dir
62
.get_block_content(&entry.hash, monitor.clone())?;
63
64
Ok(content.slice((entry.start as usize)..(entry.start + entry.len) as usize))
src/stored_tree.rs
@@ -29,8 +29,8 @@ use crate::*;
29
/// Read index and file contents for a version stored in the archive.
30
#[derive(Debug)]
31
pub struct StoredTree {
32
- band: Band,
33
- archive: Archive,
+ pub(crate) band: Band,
+ pub(crate) archive: Archive,
34
}
35
36
impl StoredTree {
0 commit comments