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 hardlink tracking, and an option to disable it #37

Merged
3 commits merged into from Feb 22, 2020

Conversation

Freaky
Copy link
Contributor

@Freaky Freaky commented Feb 22, 2020

This adds a simple HashMap-based inode filter, and -l and --count-links flags to disable it, again mirroring BSD and GNU du.

Windows support needs work since it's using unstable features, but the build appears broken there anyway.

@Freaky
Copy link
Contributor Author

Freaky commented Feb 22, 2020

I should probably have mentioned #36 somewhere.

@Freaky
Copy link
Contributor Author

Freaky commented Feb 22, 2020

-% target/debug/dua target
 309.25 MB target
-% du -s --si target
313M    target
-% du -sh target
299M    target
-% target/debug/dua -f MiB target
  294.93 MiB target

Close but not quite.

Copy link
Owner

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Fantastic work! I am loving it!

Thanks so much - new release is on the way!

src/inodefilter.rs Outdated Show resolved Hide resolved
@ghost ghost merged commit a6a4cf3 into Byron:master Feb 22, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants