Skip to content

Commit

Permalink
Fix fs_util build
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Dec 13, 2017
1 parent 560ecd9 commit 0464f09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/rust/engine/fs/fs_util/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ fn execute(top_match: clap::ArgMatches) -> Result<(), ExitError> {
.and_then(move |paths| {
Snapshot::from_path_stats(
store.clone(),
Arc::new(FileSaver {
FileSaver {
store: store.clone(),
posix_fs: posix_fs,
}),
},
paths,
)
})
Expand Down Expand Up @@ -321,6 +321,7 @@ fn make_posix_fs<P: AsRef<Path>>(root: P, pool: Arc<ResettablePool>) -> fs::Posi
fs::PosixFS::new(&root, pool, vec![]).unwrap()
}

#[derive(Clone)]
struct FileSaver {
store: Arc<Store>,
posix_fs: Arc<fs::PosixFS>,
Expand Down

0 comments on commit 0464f09

Please sign in to comment.