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

Method clear_not_marked

mitmproxy/addons/view.py:370–379  ·  view source on GitHub ↗

Clears only the unmarked flows.

(self)

Source from the content-addressed store, hash-verified

368
369 @command.command("view.clear_unmarked")
370 def clear_not_marked(self) -> None:
371 """
372 Clears only the unmarked flows.
373 """
374 for flow in self._store.copy().values():
375 if not flow.marked:
376 self._store.pop(flow.id)
377
378 self._refilter()
379 self.sig_store_refresh.send()
380
381 # View Settings
382 @command.command("view.settings.getval")

Callers 1

test_simpleFunction · 0.95

Calls 5

_refilterMethod · 0.95
valuesMethod · 0.80
copyMethod · 0.45
popMethod · 0.45
sendMethod · 0.45

Tested by 1

test_simpleFunction · 0.76