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

Function getSettingsDirectoryPath

src/utils/storage.ts:63–68  ·  view source on GitHub ↗
(globalStoragePath: string)

Source from the content-addressed store, hash-verified

61 * Gets the settings directory path
62 */
63export async function getSettingsDirectoryPath(globalStoragePath: string): Promise<string> {
64 const basePath = await getStorageBasePath(globalStoragePath)
65 const settingsDir = path.join(basePath, "settings")
66 await fs.mkdir(settingsDir, { recursive: true })
67 return settingsDir
68}
69
70/**
71 * Gets the cache directory path

Callers 3

migrateSettingsFunction · 0.90

Calls 1

getStorageBasePathFunction · 0.85

Tested by

no test coverage detected