This commit is contained in:
jamesk 2024-03-25 12:42:29 -04:00
parent 4d244af93f
commit 93a7c4ddaf
2 changed files with 3 additions and 2 deletions

View File

@ -6,5 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
Fasching = "0.1.16"
Fasching = "0.1.17"
#Fasching = {path = "../Fasching/"}
whoami = "1.5.1"

View File

@ -21,7 +21,7 @@ impl CreateMode {
impl Comparer for CreateMode {
fn run(&mut self) {
let snapshot = create_snapshot(self.path.as_str(), BLAKE3);
let snapshot = create_snapshot(self.path.as_str(), BLAKE3, vec![]);
self.snapshot = snapshot.clone();
println!("Total FileHash Entries {}", snapshot.file_hashes.lock().unwrap().len());
let _ = export_snapshot(self.snapshot.clone(), self.path.clone());