MCPcopy Create free account
hub / github.com/garrytan/gstack / write

Function write

browse/src/security-sidecar-entry.ts:56–58  ·  view source on GitHub ↗
(obj: OkResponse | ErrResponse)

Source from the content-addressed store, hash-verified

54}
55
56function write(obj: OkResponse | ErrResponse): void {
57 process.stdout.write(JSON.stringify(obj) + "\n");
58}
59
60async function handle(req: Request): Promise<void> {
61 if (!req || typeof req.id !== "string") {

Callers 2

handleFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected