Rxova
Skip to content

fileKey

function fileKey(file): string;

Identity for deduplication.

Name, size and last-modified together: the browser gives no stable id for a file, and hashing the contents would mean reading every byte of a 2 GB video to answer a question the user does not care much about. Two files matching on all three are the same file for any practical purpose.

ParameterType
fileFile

string