MCPcopy
hub / github.com/mitmproxy/mitmproxy / clear

Method clear

mitmproxy/addons/view.py:360–367  ·  view source on GitHub ↗

Clears both the store and view.

(self)

Source from the content-addressed store, hash-verified

358 # View Updates
359 @command.command("view.clear")
360 def clear(self) -> None:
361 """
362 Clears both the store and view.
363 """
364 self._store.clear()
365 self._view.clear()
366 self.sig_view_refresh.send()
367 self.sig_store_refresh.send()
368
369 @command.command("view.clear_unmarked")
370 def clear_not_marked(self) -> None:

Callers 10

test_simpleFunction · 0.95
test_movementFunction · 0.95
test_settingsFunction · 0.95
interceptMethod · 0.45
runMethod · 0.45
_refilterMethod · 0.45
doneMethod · 0.45
FileMenu.tsxFile · 0.45
onKeyDownFunction · 0.45

Calls 1

sendMethod · 0.45

Tested by 3

test_simpleFunction · 0.76
test_movementFunction · 0.76
test_settingsFunction · 0.76