Skip to content

Commit ffaae09

Browse files
committed
Fix Windows build
2 parents 534eddd + 5ce42ea commit ffaae09

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/mount/projfs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ impl StoredFileReader {
5757
})
5858
.map::<Result<Bytes>, _>(move |entry| {
5959
let content = stored_tree
60-
.block_dir()
60+
.archive
61+
.block_dir
6162
.get_block_content(&entry.hash, monitor.clone())?;
6263

6364
Ok(content.slice((entry.start as usize)..(entry.start + entry.len) as usize))

src/stored_tree.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use crate::*;
2929
/// Read index and file contents for a version stored in the archive.
3030
#[derive(Debug)]
3131
pub struct StoredTree {
32-
band: Band,
33-
archive: Archive,
32+
pub(crate) band: Band,
33+
pub(crate) archive: Archive,
3434
}
3535

3636
impl StoredTree {

0 commit comments

Comments
 (0)