MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / appendChunk

Function appendChunk

e2e/cli/service-install-takeover.test.ts:111–112  ·  view source on GitHub ↗
(existing: string, chunk: Buffer)

Source from the content-addressed store, hash-verified

109}
110
111const appendChunk = (existing: string, chunk: Buffer): string =>
112 `${existing}${chunk.toString("utf8")}`.slice(-16_000);
113
114const windowsPredecessorCommand = (exe: string): string =>
115 `& '${exe}' daemon run --foreground --port ${PORT} --hostname 127.0.0.1`;

Callers 1

startPredecessorFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected