MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getOrCreateOutput

Function getOrCreateOutput

src/utils/task/diskOutput.ts:255–262  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

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

Callers 1

appendTaskOutputFunction · 0.85

Calls 2

setMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected