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

Method removeFollower

src/function_context.py:534–541  ·  view source on GitHub ↗

Remove a (binary) follower from our watch list (he was probably matched without us). Args: bin_ctx (ComparableContext): a follower (binary) function

(self, bin_ctx)

Source from the content-addressed store, hash-verified

532 self.followers.add(bin_ctx)
533
534 def removeFollower(self, bin_ctx):
535 """Remove a (binary) follower from our watch list (he was probably matched without us).
536
537 Args:
538 bin_ctx (ComparableContext): a follower (binary) function
539 """
540 if bin_ctx in self.followers:
541 self.followers.remove(bin_ctx)
542
543 def checkFileHint(self):
544 """Check if has a file string hint, now that all strings were recorded.

Callers 2

addHintsMethod · 0.80
removeHintMethod · 0.80

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected