MCPcopy
hub / github.com/codeaashu/claude-code / getTaskOutputPath

Function getTaskOutputPath

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

Source from the content-addressed store, hash-verified

70 * Get the output file path for a task
71 */
72export function getTaskOutputPath(taskId: string): string {
73 return join(getTaskOutputDir(), `${taskId}.output`)
74}
75
76// Tracks fire-and-forget promises (initTaskOutput, initTaskOutputAsSymlink,
77// evictTaskOutput, #drain) so tests can drain before teardown. Prevents the

Callers 15

createTaskStateBaseFunction · 0.85
resumeAgentBackgroundFunction · 0.85
callFunction · 0.85
getTaskOutputFunction · 0.85
constructorMethod · 0.85
getTaskOutputDeltaFunction · 0.85
getTaskOutputFunction · 0.85
getTaskOutputSizeFunction · 0.85
cleanupTaskOutputFunction · 0.85

Calls 1

getTaskOutputDirFunction · 0.85

Tested by

no test coverage detected