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

Function ensureSettingsDirectoryExists

src/utils/globalContext.ts:4–7  ·  view source on GitHub ↗
(context: ExtensionContext)

Source from the content-addressed store, hash-verified

2import { getSettingsDirectoryPath } from "./storage"
3
4export async function ensureSettingsDirectoryExists(context: ExtensionContext): Promise<string> {
5 // getSettingsDirectoryPath already handles the custom storage path setting
6 return await getSettingsDirectoryPath(context.globalStorageUri.fsPath)
7}

Callers 5

getModesSectionFunction · 0.90
getModeFilePathMethod · 0.90
getMcpFilePathMethod · 0.90

Calls 1

getSettingsDirectoryPathFunction · 0.90

Tested by

no test coverage detected