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

Function ensureOutputDir

source code/utils/task/diskOutput.ts:67–69  ·  view source on GitHub ↗

* Ensure the task output directory exists

()

Source from the content-addressed store, hash-verified

65 * Ensure the task output directory exists
66 */
67async function ensureOutputDir(): Promise<void> {
68 await mkdir(getTaskOutputDir(), { recursive: true })
69}
70
71/**
72 * Get the output file path for a task

Callers 3

#drainAllChunksMethod · 0.85
initTaskOutputFunction · 0.85
initTaskOutputAsSymlinkFunction · 0.85

Calls 2

mkdirFunction · 0.85
getTaskOutputDirFunction · 0.85

Tested by

no test coverage detected