Repository navigation
Mark a file joined from an ExoPlayer cache as derived, not on the device - #249
Merged
Merged
Conversation
A file gleapp/exocache.py joins from an app's ExoPlayer cache pieces is given a path that names the cache folder and a name GLEAPP chose. No file by that name exists on the device, but the path read like one wherever it was shown. Its file path now shows "»" in place of the last separator, between the cache folder and the name, followed by an info mark whose tooltip reads "Derived: not a file on the device". Only joined files carry it (rows with cache_info), and only where a file path is shown: the details pane's File path row, the list view's File path column, and the HTML report's Path and Device path fields. The stored path, the CSV and JSON exports and LAVA are unchanged, so a path still copies out as written. exocache.DERIVED_MARK and DERIVED_NOTE hold the words the page and the report share. The manual and help say what the mark means. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 file that
gleapp/exocache.pyjoins from an app's ExoPlayer cache pieces (from #204) is given a path that names the cache folder plus a name GLEAPP chose, e.g.…/ExoPlayerCacheDir/videocache/exoplayer_549a9e35e76b.mp4. No file by that name exists on the device, but the path read like one everywhere it was shown.What changes
»in place of the last separator, then an ⓘ whose tooltip reads Derived: not a file on the device:…/ExoPlayerCacheDir/videocache » exoplayer_549a9e35e76b.mp4 ⓘ»is the same size as the path text, in the accent color.cache_info), and only where a file path is shown:What doesn't change
Details
exocache.DERIVED_MARK,DERIVED_NOTEandis_derived()hold the words and the rule the page and the report share.Tests
test_a_joined_file_is_marked_derived_in_the_html_report: the mark appears once, in the path, in place of the last/, and a cache piece is not derived.🤖 Generated with Claude Code