.
This commit is contained in:
parent
4d244af93f
commit
93a7c4ddaf
@ -6,5 +6,6 @@ edition = "2021"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
Fasching = "0.1.16"
|
Fasching = "0.1.17"
|
||||||
|
#Fasching = {path = "../Fasching/"}
|
||||||
whoami = "1.5.1"
|
whoami = "1.5.1"
|
||||||
|
@ -21,7 +21,7 @@ impl CreateMode {
|
|||||||
|
|
||||||
impl Comparer for CreateMode {
|
impl Comparer for CreateMode {
|
||||||
fn run(&mut self) {
|
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();
|
self.snapshot = snapshot.clone();
|
||||||
println!("Total FileHash Entries {}", snapshot.file_hashes.lock().unwrap().len());
|
println!("Total FileHash Entries {}", snapshot.file_hashes.lock().unwrap().len());
|
||||||
let _ = export_snapshot(self.snapshot.clone(), self.path.clone());
|
let _ = export_snapshot(self.snapshot.clone(), self.path.clone());
|
||||||
|
Loading…
Reference in New Issue
Block a user