code cleanup

This commit is contained in:
SeanOMik 2023-05-29 21:00:11 -04:00
parent 816329ed96
commit 2b924bcf7a
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 0 additions and 15 deletions

View File

@ -54,21 +54,6 @@ fn main() {
}
}
/* for data_file in fs::read_dir(&args.path).unwrap().filter_map(Result::ok) {
// ignore dirs
if data_file.file_type().unwrap().is_file() {
let path = data_file.path();
if !all_files.contains(&path) {
println!("{}", path.display());
if args.change {
fs::remove_file(path).unwrap();
}
}
}
} */
if !args.change {
println!("No changes were applied since flag `--change` was not set to true");
} else {