MCPcopy
hub / github.com/aws/aws-cli / handle

Method handle

awscli/botocore/httpchecksum.py:64–69  ·  view source on GitHub ↗
(self, body)

Source from the content-addressed store, hash-verified

62 fileobj.seek(start_position)
63
64 def handle(self, body):
65 if isinstance(body, (bytes, bytearray)):
66 self.update(body)
67 else:
68 self._handle_fileobj(body)
69 return self.b64digest()
70
71
72class Crc32Checksum(BaseChecksum):

Calls 3

updateMethod · 0.95
_handle_fileobjMethod · 0.95
b64digestMethod · 0.95

Tested by 1