Remove unused
This commit is contained in:
parent
b80f567e74
commit
14427b6011
1 changed files with 0 additions and 6 deletions
|
@ -12,7 +12,6 @@ import {
|
|||
} from "types/upload";
|
||||
|
||||
const TYPE_JSON = "json";
|
||||
const DEDUPE_COLLECTION = new Set(["icloud library", "icloudlibrary"]);
|
||||
|
||||
export function findMatchingExistingFiles(
|
||||
existingFiles: EnteFile[],
|
||||
|
@ -27,11 +26,6 @@ export function findMatchingExistingFiles(
|
|||
return matchingFiles;
|
||||
}
|
||||
|
||||
export function shouldDedupeAcrossCollection(collectionName: string): boolean {
|
||||
// using set to avoid unnecessary regex for removing spaces for each upload
|
||||
return DEDUPE_COLLECTION.has(collectionName.toLocaleLowerCase());
|
||||
}
|
||||
|
||||
export function areFilesSame(
|
||||
existingFile: Metadata,
|
||||
newFile: Metadata,
|
||||
|
|
Loading…
Add table
Reference in a new issue