MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / clear

Method clear

src/command_system/input_processing.py:837–840  ·  view source on GitHub ↗

Clear all history.

(self)

Source from the content-addressed store, hash-verified

835 return [e for e in reversed(self._entries) if e.lower().startswith(prefix_lower)]
836
837 def clear(self) -> None:
838 """Clear all history."""
839 self._entries.clear()
840 self._cursor = -1
841
842 @property
843 def entries(self) -> list[str]:

Callers 1

test_clearMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_clearMethod · 0.76