MCPcopy
hub / github.com/donnemartin/gitsome / append

Method append

xonsh/ptk/history.py:21–23  ·  view source on GitHub ↗

Append new entry to the history.

(self, entry)

Source from the content-addressed store, hash-verified

19 PromptToolkitHistoryAdder(self, wait_for_gc=wait_for_gc)
20
21 def append(self, entry):
22 """Append new entry to the history."""
23 self.strings.append(entry)
24
25 def __getitem__(self, index):
26 return self.strings[index]

Callers 15

_pushMethod · 0.45
continuation_tokensMethod · 0.45
_format_promptMethod · 0.45
multiline_promptFunction · 0.45
_set_args_defMethod · 0.45
_set_regular_argsMethod · 0.45
store_star_exprMethod · 0.45
p_if_stmtMethod · 0.45
p_trailer_bang_lparenMethod · 0.45
p_dictorsetmaker_t6Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected