MCPcopy Create free account
hub / github.com/Noumena-Network/code / writePayload

Function writePayload

src/commands/repaint/repaint.ts:297–299  ·  view source on GitHub ↗
(path: string, payload: unknown)

Source from the content-addressed store, hash-verified

295}
296
297function writePayload(path: string, payload: unknown): void {
298 writeFileSync(path, `${JSON.stringify(payload, null, 2)}\n`, 'utf8')
299}
300
301export function writeRepaintDiagnostic(context: ToolUseContext): string {
302 const dir = getDiagnosticDir()

Callers 2

writeRepaintDiagnosticFunction · 0.85
callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected