MCPcopy Create free account
hub / github.com/codedogQBY/ReadAny / getDatabaseFilePath

Function getDatabaseFilePath

packages/core/src/db/db-core.ts:68–71  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

66}
67
68export async function getDatabaseFilePath(filename: string): Promise<string> {
69 const platform = getPlatformService();
70 return platform.joinPath(await getDesktopDataRoot(), filename);
71}
72
73async function getDatabaseLocation(filename: string): Promise<string> {
74 const platform = getPlatformService();

Callers 4

getDesktopDatabasePathFunction · 0.90
runMigrationsFunction · 0.85
getSchemaVersionFunction · 0.85
getDatabaseLocationFunction · 0.85

Calls 3

getPlatformServiceFunction · 0.90
getDesktopDataRootFunction · 0.85
joinPathMethod · 0.65

Tested by

no test coverage detected