Skip to content

Commit

Permalink
feat: take hidden files into account for checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
beeb committed Aug 12, 2024
1 parent fa823b8 commit c946088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub fn hash_folder(
// a list of hashes, one for each DirEntry
let hashes = Arc::new(Mutex::new(Vec::with_capacity(100)));
// we use a parallel walker to speed things up
let walker = WalkBuilder::new(folder_path).build_parallel();
let walker = WalkBuilder::new(folder_path).hidden(false).build_parallel();
walker.run(|| {
let ignore_path = ignore_path.clone();
let seen_ignore_path = Arc::clone(&seen_ignore_path);
Expand Down

0 comments on commit c946088

Please sign in to comment.