Skip to content

Commit

Permalink
done (but still have bugs)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stasenko-Konstantin committed Sep 3, 2022
1 parent 0c505a7 commit dcebf77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ based on [phash algorithm](https://www.phash.org/docs/pubs/thesis_zauner.pdf)
## TODO
- [x] Loading ~~animation~~ message
- [x] Display of image size in mb/kb/etc
- [ ] Recursive analysis of subdirectories
- [ ] Analysis of the selected directory
- [ ] Cache
- [x] Analysis of the selected directory
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn check(dir: &str, cmds: HashMap<&str, bool>) {
println!("calculation...");
let pics: Vec<Option<Pic>> = files.into_iter().map(|f| {
let name = f.path().file_name().unwrap().to_string_lossy().chars().as_str().to_string();
if !cmds.get("quiet").unwrap() {
if !cmds["quiet"] {
println!("{}", name);
}
let hash = find_hash(name.clone())?;
Expand Down

0 comments on commit dcebf77

Please sign in to comment.