MCPcopy Create free account
hub / github.com/dbcli/mycli / append_string

Method append_string

mycli/packages/ptoolkit/history.py:20–25  ·  view source on GitHub ↗

Add string to the history.

(self, string: str)

Source from the content-addressed store, hash-verified

18 super().__init__(filename)
19
20 def append_string(self, string: str) -> None:
21 "Add string to the history."
22 self._loaded_strings.insert(0, string)
23 if is_password_change(string):
24 return
25 self.store_string(string)
26
27 def load_history_with_timestamp(self) -> list[tuple[str, str]]:
28 """

Calls 1

is_password_changeFunction · 0.90