Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache support for similar images #139

Merged
merged 1 commit into from
Dec 27, 2020
Merged

Add cache support for similar images #139

merged 1 commit into from
Dec 27, 2020

Conversation

qarmin
Copy link
Owner

@qarmin qarmin commented Dec 27, 2020

Implements #23 for similar images

@qarmin qarmin added the enhancement New feature or request label Dec 27, 2020
@qarmin qarmin force-pushed the cache_similar_image branch from 7414535 to 9a0432d Compare December 27, 2020 09:47
@qarmin qarmin merged commit 3f333e7 into master Dec 27, 2020
@qarmin qarmin deleted the cache_similar_image branch December 27, 2020 09:56

fn save_hashes_to_file(hashmap: &HashMap<String, FileEntry>, text_messages: &mut Messages) {
if let Some(proj_dirs) = ProjectDirs::from("pl", "Qarmin", "Czkawka") {
// Lin: /home/alice/.config/barapp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is barapp? The ~/.config/barapp doesn't exist, even if it looks like the cache works.

Copy link
Contributor

@alexislefebvre alexislefebvre Jan 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only this comment looks wrong, the rest of the code and the cache work! 👍

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was intended to show only where this function want to save data in general(comment was copied from directories-next crate).
Proper locations I put to instruction.
I have updated this comments in #196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants