MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getOrCreateOutput

Function getOrCreateOutput

source code/utils/task/diskOutput.ts:257–264  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

255}
256
257function getOrCreateOutput(taskId: string): DiskTaskOutput {
258 let output = outputs.get(taskId)
259 if (!output) {
260 output = new DiskTaskOutput(taskId)
261 outputs.set(taskId, output)
262 }
263 return output
264}
265
266/**
267 * Append output to a task's disk file asynchronously.

Callers 1

appendTaskOutputFunction · 0.85

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected