|
|
@ -126,7 +126,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
log!(Debug, lmode => "Loaded hashes: {:?}", hashes);
|
|
|
|
log!(Debug, lmode => "Loaded hashes: {}", hashes);
|
|
|
|
log!(Info, lmode => "Starting checks (threaded)");
|
|
|
|
log!(Info, lmode => "Starting checks (threaded)");
|
|
|
|
let hashes = Arc::new(Mutex::new(hashes));
|
|
|
|
let hashes = Arc::new(Mutex::new(hashes));
|
|
|
|
for path in args.paths.iter()
|
|
|
|
for path in args.paths.iter()
|
|
|
@ -154,7 +154,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>>
|
|
|
|
log!(Info, lmode => "Found: {:?}", done);
|
|
|
|
log!(Info, lmode => "Found: {:?}", done);
|
|
|
|
|
|
|
|
|
|
|
|
let hashes = hashes.lock().await;
|
|
|
|
let hashes = hashes.lock().await;
|
|
|
|
log!(Debug, lmode => "New hashes: {:?}", hashes);
|
|
|
|
log!(Debug, lmode => "New hashes: {}", hashes);
|
|
|
|
|
|
|
|
|
|
|
|
for save in args.save.iter()
|
|
|
|
for save in args.save.iter()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -226,7 +226,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
log!(Info, lmode => "Found: {:?}", done);
|
|
|
|
log!(Info, lmode => "Found: {:?}", done);
|
|
|
|
log!(Debug, lmode => "New hashes: {:?}", hashes);
|
|
|
|
log!(Debug, lmode => "New hashes: {}", hashes);
|
|
|
|
|
|
|
|
|
|
|
|
for save in args.save.iter()
|
|
|
|
for save in args.save.iter()
|
|
|
|
{
|
|
|
|
{
|
|
|
|