From 2b924bcf7a3d706828e00672326dd1178d0f86ba Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 29 May 2023 21:00:11 -0400 Subject: [PATCH] code cleanup --- src/main.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main.rs b/src/main.rs index f78e7ff..7d39d2b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 {