MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / setHash

Method setHash

src/function_context.py:508–514  ·  view source on GitHub ↗

Set the hash digest of our function. Args: digest (str): hex digest of our function

(self, digest)

Source from the content-addressed store, hash-verified

506 self.unknown_fptrs.add(unknown)
507
508 def setHash(self, digest):
509 """Set the hash digest of our function.
510
511 Args:
512 digest (str): hex digest of our function
513 """
514 self.hash = digest
515
516 def markCollisionCandidates(self, candidates):
517 """Mark the potential collision (merge) candidates from other files.

Callers 2

deserializeMethod · 0.95
analyzeFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected