Determines whether two files should be considered different based on the compare mode. For sha1, callers that use the low-level policy helpers should first prepare the pair so local hashes and comparable B2 hashes are populated.
sha1
The source file metadata.
The destination file metadata.
The comparison strategy: 'modtime', 'size', 'sha1', or 'none'.
Tolerance for the comparison (bytes for size, milliseconds for modtime).
true if the files are considered different.
true
When compareMode is not one of the supported compare modes.
compareMode
Determines whether two files should be considered different based on the compare mode. For
sha1, callers that use the low-level policy helpers should first prepare the pair so local hashes and comparable B2 hashes are populated.