From 93a7c4ddaf423415f1e61783eccb720b373e83db Mon Sep 17 00:00:00 2001 From: jamesk Date: Mon, 25 Mar 2024 12:42:29 -0400 Subject: [PATCH] . --- Cargo.toml | 3 ++- src/createmode.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe38f7f..9631832 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/createmode.rs b/src/createmode.rs index 054a70c..07e0186 100644 --- a/src/createmode.rs +++ b/src/createmode.rs @@ -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());