mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-19 14:45:29 +00:00
Drop the redundant v2 prefix from the disk cache key, as the key format already changed when the inode was added. Render the file the cache key was computed from, so that retargeting a symlink while rendering, even if it is restored before AddPath() checks the key again, cannot store the preview of one file under the key of another. Renderers that need the selected path, custom preview commands and calibre, opt out via NeedsSelectedPath(). The selected path is also used when the target has a different extension, as renderers may detect the format from it. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| archive.go | ||
| archive_test.go | ||
| calibre.go | ||
| calibre_test.go | ||
| cmd_preview.go | ||
| collection.go | ||
| ffmpeg.go | ||
| filters.go | ||
| footer.go | ||
| graphics.go | ||
| image_preview.go | ||
| image_preview_test.go | ||
| main.go | ||
| main.py | ||
| main_test.go | ||
| preview.go | ||
| preview_test.go | ||
| results.go | ||
| results_test.go | ||
| sanitize.go | ||
| sanitize_test.go | ||
| save-file.go | ||
| scan.go | ||
| scan_test.go | ||
| search-bar.go | ||