You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Util/Media
Your Name b6d645a4d4 fix: delete superseded image/thumbnail files instead of orphaning them
Image::handleImageTransform derives the output filename from the current
media_path and applies the encoder's output extension. When that differs from
what is already stored (heic/avif -> jpg, or a thumbnail regenerated to a new
extension), the new file landed at a different path and the previous file was
left orphaned in the media directory — the source of the leftover _thumb files
under public/m/_v2.

Capture the path each transform supersedes and delete it after a successful
write (only when the new output path differs, so we never delete what we just
wrote). Remove the stale MediaDeleteLeafCleanupTest whose source change is not
in the tree.
3 weeks ago
..
Blurhash.php Merge pull request #6667 from vinzgreg/fix/blurhash-memory-strands-video-uploads 4 weeks ago
Filter.php Lint 9 months ago
Image.php fix: delete superseded image/thumbnail files instead of orphaning them 3 weeks ago
ImageDriverManager.php Pint app/ 4 weeks ago
License.php Lint 9 months ago