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

Function ensureToolResultsDir

src/utils/toolResultStorage.ts:122–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 * Ensure the session-specific tool results directory exists
121 */
122export async function ensureToolResultsDir(): Promise<void> {
123 try {
124 await mkdir(getToolResultsDir(), { recursive: true })
125 } catch {
126 // Directory may already exist
127 }
128}
129
130/**
131 * Persist a tool result to disk and return information about the persisted file

Callers 4

callFunction · 0.85
callFunction · 0.85
persistBinaryContentFunction · 0.85
persistToolResultFunction · 0.85

Calls 2

mkdirFunction · 0.85
getToolResultsDirFunction · 0.85

Tested by

no test coverage detected