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

Method _prefile

dshell/core.py:356–364  ·  view source on GitHub ↗

_prefile is called just before an individual file is processed. Stores the current pcap file string and calls the child plugin's prefile function.

(self, infile=None)

Source from the content-addressed store, hash-verified

354 pass
355
356 def _prefile(self, infile=None):
357 """
358 _prefile is called just before an individual file is processed.
359 Stores the current pcap file string and calls the child plugin's
360 prefile function.
361 """
362 self.current_pcap_file = infile
363 self.prefile(infile)
364 logger.info('working on file "{}"'.format(infile))
365
366 def prefile(self, infile=None):
367 """

Callers 1

process_filesFunction · 0.80

Calls 2

prefileMethod · 0.95
infoMethod · 0.45

Tested by

no test coverage detected