Clarification after asking in Discord

This commit is contained in:
Manav Rathi 2024-04-24 13:36:04 +05:30
parent 9de8a3d40a
commit a08df9a839
No known key found for this signature in database

View file

@ -757,6 +757,10 @@ const areFilesSameHash = (f: Metadata, g: Metadata) => {
}
};
/**
* Older files that were uploaded before we introduced hashing will not have
* hashes, so retain and use the logic we used back then for such files.
*/
const areFilesSameNoHash = (f: Metadata, g: Metadata) => {
/*
* The maximum difference in the creation/modification times of two similar