MCPcopy Index your code
hub / github.com/secdev/scapy / open_ccache

Method open_ccache

scapy/modules/ticketer.py:448–455  ·  view source on GitHub ↗

Load from CCache file

(self, fname)

Source from the content-addressed store, hash-verified

446 self.hashes_cache = collections.defaultdict(dict)
447
448 def open_ccache(self, fname):
449 """
450 Load from CCache file
451 """
452 self.ccache_fname = fname
453 self.hashes_cache = collections.defaultdict(dict)
454 with open(self.ccache_fname, "rb") as fd:
455 self.ccache = CCache(fd.read())
456
457 def open_keytab(self, fname):
458 """

Callers 1

from_cli_argumentsMethod · 0.95

Calls 2

CCacheClass · 0.85
readMethod · 0.45

Tested by

no test coverage detected