MCPcopy
hub / github.com/codedogQBY/ReadAny / getDefaultDataRoot

Function getDefaultDataRoot

packages/core/src/db/db-core.ts:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32async function getDefaultDataRoot(): Promise<string> {
33 const platform = getPlatformService();
34 return normalizeDir(await platform.getAppDataDir());
35}
36
37async function getDesktopDataRootConfigPath(): Promise<string> {
38 const platform = getPlatformService();

Callers 2

getDesktopDataRootFunction · 0.85

Calls 3

getPlatformServiceFunction · 0.90
normalizeDirFunction · 0.70
getAppDataDirMethod · 0.65

Tested by

no test coverage detected