MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / running

Method running

mitmproxy/addons/readfile.py:76–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 logger.exception(f"Failed to read {ctx.options.rfile}: {e}")
75
76 def running(self):
77 if ctx.options.rfile:
78 self._read_task = asyncio_utils.create_task(
79 self.doread(ctx.options.rfile),
80 name="readfile",
81 keep_ref=False,
82 )
83
84 @command.command("readfile.reading")
85 def reading(self) -> bool:

Callers 1

test_readMethod · 0.95

Calls 1

doreadMethod · 0.95

Tested by 1

test_readMethod · 0.76