-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore nested files when calculating the total
For the nested files: - folder/ (5 MB) - folder/big_file (15 MB) The --total now outputs 15 MB instead of the previous 20 MB, because the inner file is inside of the folder that was also passed as an argument. Implemented with the Trie data structure, made of HashMap and PathBufs that represent each path components of the canonicalized file paths. Fixes #12.
- Loading branch information
1 parent
964ddfd
commit 83ee20e
Showing
2 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters