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

Function getTaskOutputDir

source code/utils/task/diskOutput.ts:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 */
51let _taskOutputDir: string | undefined
52export function getTaskOutputDir(): string {
53 if (_taskOutputDir === undefined) {
54 _taskOutputDir = join(getProjectTempDir(), getSessionId(), 'tasks')
55 }
56 return _taskOutputDir
57}
58
59/** Test helper — clears the memoized dir. */
60export 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