SCRIdb.tools.etag_checksum

SCRIdb.tools.etag_checksum(filename, chunk_size=8388608)

Compute the ETag digest (which is not the MD5 digest) of an object.

Parameters
  • filename (str) – Path to file target file

  • chunk_size (int) – Chunk size to hash

Return type

str

Returns

ETag hexdigest