MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getTaskDirectoryPath

Function getTaskDirectoryPath

src/utils/storage.ts:53–58  ·  view source on GitHub ↗
(globalStoragePath: string, taskId: string)

Source from the content-addressed store, hash-verified

51 * Gets the storage directory path for a task
52 */
53export async function getTaskDirectoryPath(globalStoragePath: string, taskId: string): Promise<string> {
54 const basePath = await getStorageBasePath(globalStoragePath)
55 const taskDir = path.join(basePath, "tasks", taskId)
56 await fs.mkdir(taskDir, { recursive: true })
57 return taskDir
58}
59
60/**
61 * Gets the settings directory path

Callers 15

executeCommandInTerminalFunction · 0.90
executeMethod · 0.90
disposeMethod · 0.90
generateErrorDiagnosticsFunction · 0.90
readApiMessagesFunction · 0.90
saveApiMessagesFunction · 0.90
readTaskMessagesFunction · 0.90
saveTaskMessagesFunction · 0.90
taskMetadataFunction · 0.90
getTaskMetadataMethod · 0.90
saveTaskMetadataMethod · 0.90

Calls 1

getStorageBasePathFunction · 0.85

Tested by

no test coverage detected