mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 23:39:08 +00:00
* Fixes viktorstrate/photoview#8 - Added new property CounterpartPath to Media struct to hold the path to the counterpart JPEG file (if any) - Added new MediaType method isBasicSupportedisBasicTypeSupported() - Added new function isFileExists() to minimize the code duplication * Fixes viktorstrate/photoview#8 - Chaned CounterpartPath definition from string to *string - Added new helper method FileExtensions() - Simplified the logic inside scanForRawCounterpartFile() and scanForCompressedCounterpartFile() functions, reducing the code duplication * Fixes viktorstrate/photoview#8 - Added debug to fileExists() function * Cleanup fileExists logging Co-authored-by: viktorstrate <viktorstrate@gmail.com>