MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTaskOutputDir

Function getTaskOutputDir

src/utils/task/diskOutput.ts:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 */
49let _taskOutputDir: string | undefined
50export function getTaskOutputDir(): string {
51 if (_taskOutputDir === undefined) {
52 _taskOutputDir = join(getProjectTempDir(), getSessionId(), 'tasks')
53 }
54 return _taskOutputDir
55}
56
57/** Test helper — clears the memoized dir. */
58export function _resetTaskOutputDirForTest(): void {

Callers 4

getAgentOutputTaskIdFunction · 0.85
execFunction · 0.85
ensureOutputDirFunction · 0.85
getTaskOutputPathFunction · 0.85

Calls 2

getProjectTempDirFunction · 0.85
getSessionIdFunction · 0.85

Tested by

no test coverage detected