MCPcopy
hub / github.com/Nuitka/Nuitka / updateFromBytes

Method updateFromBytes

nuitka/utils/Hashing.py:79–81  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

77 self.hash = md5()
78
79 def updateFromBytes(self, value):
80 self.hash.update(value)
81 return self
82
83 def asDigest(self):
84 return self.hash.digest()

Callers 3

_compressFileMethod · 0.95
updateFromValuesMethod · 0.45
updateFromFileHandleMethod · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected