1
Fork 0
photoview/api/graphql
Vladimir Ivanov 6adc79001c
Photo duplication detection (#148)
* 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>
2020-12-09 11:40:37 +01:00
..
auth Cleanup + add video format 2020-07-13 18:01:31 +02:00
models Photo duplication detection (#148) 2020-12-09 11:40:37 +01:00
notification Reintregrate notifications with scanner 2020-06-23 15:13:07 +02:00
resolvers Fixes viktorstrate/photoview#71 2020-10-13 18:27:28 +03:00
directive.go Implement authorization 2020-01-31 23:30:34 +01:00
generated.go Add graphql query for getting media from an array of ids 2020-09-27 20:52:09 +02:00
schema.graphql Add graphql query for getting media from an array of ids 2020-09-27 20:52:09 +02:00