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

Do not output excess results #29

Open
aleksaan opened this issue Nov 25, 2020 · 0 comments
Open

Do not output excess results #29

aleksaan opened this issue Nov 25, 2020 · 0 comments

Comments

@aleksaan
Copy link
Owner

aleksaan commented Nov 25, 2020

Sergey Glaznitsa: Do not render excess results.
Example of current results (limit=2):
C:\a - 100Mb
C:\a\b - 99Mb
(C:\x - 30Mb - do not output because is less than a & b folders.)

Output has two rows with the same folder. However folder c:\a contains (without C:\a\b) only 1Mb of its 100Mb volume. Only 1% of volume. And folder C:\a\b contains 99% of volume.
It is not nessesary to output c:\a volume in this case.
Results should be like that:
C:\a\b - 99Mb
C:\x - 30Mb
(C:\a - 100Mb - do not output because its "clean" size (without C:\a\b) only 1Mb and other 99Mb has been printed yet above for c:\a\b folder)

Second example:
C:\a - 100Mb (clean size is 51Mb)
C:\a\b - 49Mb
(C:\x - 30Mb - do not output because is less than a (clean size) & b size)

C:\a "clean" volume (without C:\a\b) is 51Mb and that is reason to include c:\a to results.

@aleksaan aleksaan changed the title Do not render excess results Do not output excess results Nov 25, 2020
@aleksaan aleksaan added this to To do in diskusage_project Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant