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

Method prefile

dshell/core.py:366–376  ·  view source on GitHub ↗

A placeholder. A plugin will be able to overwrite this function to perform an action before an individual file is processed. Arguments: infile: filepath or interface that will be processed

(self, infile=None)

Source from the content-addressed store, hash-verified

364 logger.info('working on file "{}"'.format(infile))
365
366 def prefile(self, infile=None):
367 """
368 A placeholder.
369
370 A plugin will be able to overwrite this function to perform an action
371 before an individual file is processed.
372
373 Arguments:
374 infile: filepath or interface that will be processed
375 """
376 pass
377
378 def _postfile(self):
379 """

Callers 1

_prefileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected