SCRIdb.tools.etag_compare

SCRIdb.tools.etag_compare(filename, etag)

Checks the integrity of files copied to S3.

Parameters
  • filename (str) – Path to target file

  • etag (str) – ETag hash of S3 object.

Return type

Tuple[bool, str, str]

Returns

Checksum values of the object