MCPcopy
hub / github.com/binaricat/Netcatty / append

Function append

components/terminal/programmaticCommandLog.ts:93–101  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

91 rewrites.push(rewrite);
92 },
93 append(input: string): string {
94 if (!input) return "";
95 if (rewrites.length === 0) {
96 const output = pending + input;
97 pending = "";
98 return output;
99 }
100 return appendWithActiveRewrite(input);
101 },
102 finish(): string {
103 const output = pending;
104 pending = "";

Callers

nothing calls this directly

Calls 1

appendWithActiveRewriteFunction · 0.85

Tested by

no test coverage detected