![]() |
digiKam
|
Checks for duplicates of files names inside the trash and if there is a duplication it does a simple versioning recursively.
Checks for duplicates of files names inside the trash and if there is a duplication it does a simple versioning recursively
collectionPath | path of collection that the image belongs to |
baseName | the baseName of the image |
version | a digit to append to the image baseName |
("home/user/Pics", "katy", 0) return => "home/user/Pics/.trash/info/katy.dtrashInfo" if this name was available, if not returns => "home/user/Pics/.trash/info/katy{version}.dtrashInfo" where {version} is a integer number that is available in trash