rev blacklist

This commit is contained in:
jamesk 2024-04-15 18:00:32 -04:00
parent 9e39a59f0c
commit a9d933d7b0
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "sys-compare"
description = "Track Filesystem Integrity via 'Snapshots' which contain a HashMap of the files and their corresponding hash signature from a specified directory."
version = "0.1.8"
version = "0.1.9"
edition = "2021"
authors = ["james@koonts.net"]
license = "MIT"
@ -14,4 +14,4 @@ readme = "README.md"
filesystem-hashing = "0.2.8"
clap = { version = "4.5.4", features = ["derive"] }
whoami = "1.5.1"
anyhow = "1.0.81"
anyhow = "1.0.82"

View File

@ -25,7 +25,11 @@ impl CreateMode {
root_path,
snapshot: Snapshot {
file_hashes: Arc::new(Mutex::new(Default::default())),
black_list: vec![],
black_list: vec![
"/dev".to_string(),
"/proc".to_string(),
"/tmp".to_string(),
],
root_path: "".to_string(),
hash_type: BLAKE3,
uuid: "".to_string(),