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

Function ensureOutputDir

src/utils/task/diskOutput.ts:65–67  ·  view source on GitHub ↗

* Ensure the task output directory exists

()

Source from the content-addressed store, hash-verified

63 * Ensure the task output directory exists
64 */
65async function ensureOutputDir(): Promise<void> {
66 await mkdir(getTaskOutputDir(), { recursive: true })
67}
68
69/**
70 * 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