MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / purge

Method purge

dshell/core.py:723–731  ·  view source on GitHub ↗

When finished with handling a pcap file, calling this will clear all caches in preparation for next file.

(self)

Source from the content-addressed store, hash-verified

721 self._production_ready = True
722
723 def purge(self):
724 """
725 When finished with handling a pcap file, calling this will clear all
726 caches in preparation for next file.
727 """
728 super().purge()
729 self._connection_queue = []
730 self._connection_tracker = {}
731 self._production_ready = False
732
733 # TODO: Have blobs handled with consumer/producer model just like Packets and Connections?
734 def _blob_handler(self, conn: "Connection", blob: "Blob"):

Callers

nothing calls this directly

Calls 1

purgeMethod · 0.45

Tested by

no test coverage detected