Repository navigation
Fix Large Files edge cases found in review - #3
Merged
Merged
Conversation
Music and TV library folders are never listed or trashed. Each folder gets a share of the scan budget so one huge tree cannot starve the rest, and the notice names any folder that ran out. Emptying a truncated list rescans. A personal folder that links outside home is refused. The report heading says what it leaves out. The snapshot tool restores the preferences it borrows.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A second review of the Large Files tab found a few problems. Music and TV library folders could be listed and trashed, which would leave those apps with missing media. They are now skipped when scanning and refused when trashing. The scan budget is now shared between folders and the notice names any folder that ran out. After trashing every file in a truncated list the tab rescans instead of saying nothing was found. A personal folder that is a link to somewhere outside home is refused. The memory report heading says it leaves out system and command line processes. The snapshot tool puts back the preferences it borrows. Tests cover each change.