MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / send

Function send

__tests__/security.test.ts:906–906  ·  view source on GitHub ↗
(message: object)

Source from the content-addressed store, hash-verified

904 });
905 child.stderr.on('data', (chunk) => { err += chunk.toString('utf8'); });
906 const send = (message: object): void => { child.stdin.write(JSON.stringify(message) + '\n'); };
907 const reply = async (id: number): Promise<Reply> => {
908 const deadline = Date.now() + 30_000;
909 for (;;) {

Callers 1

security.test.tsFile · 0.70

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected