Extracts the best comparable SHA-1 value from a B2 file version.
B2's primary contentSha1 is authoritative for single-part uploads when it is a verifiable
digest. Large/multipart B2 files report contentSha1: null; fileInfo.large_file_sha1 is
caller-provided metadata, so it is returned as an untrusted hint that cannot prove equality
until the high-level synchronizer hashes the selected version's bytes.
Extracts the best comparable SHA-1 value from a B2 file version.
B2's primary
contentSha1is authoritative for single-part uploads when it is a verifiable digest. Large/multipart B2 files reportcontentSha1: null;fileInfo.large_file_sha1is caller-provided metadata, so it is returned as an untrusted hint that cannot prove equality until the high-level synchronizer hashes the selected version's bytes.