MCPcopy
hub / github.com/USArmyResearchLab/Dshell / purge

Method purge

dshell/core.py:169–175  ·  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

167 pass
168
169 def purge(self):
170 """
171 When finished with handling a pcap file, calling this will clear all
172 caches in preparation for next file.
173 """
174 self._packet_queue = []
175 self._packet_fragments = defaultdict(dict)
176
177 def write(self, *args, **kwargs):
178 """

Callers 2

process_filesFunction · 0.45
purgeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected