Reputation: 361
I have a program which generates and caches JSON metadata for files of multiple media types (e.g. .jpeg
, .png
). Is it idiomatic to include the original file extension in the name of the metadata file to demonstrate how they are related and avoid naming collisions where there are two media files with the same name but different extensions (e.g. my_photo.jpeg.json
, my_photo.png.json
)?
Upvotes: 0
Views: 25