MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getDbPath

Function getDbPath

apps/desktop/main/worker/import/utils.ts:27–29  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

25}
26
27export function getDbPath(sessionId: string): string {
28 return path.join(getDbDir(), `${sessionId}.db`)
29}
30
31/**
32 * Create a database with tables only (no indexes) for fast bulk import.

Callers 5

deleteDatabaseFunction · 0.90
postImportHookFunction · 0.90
openDatabaseFunction · 0.90
postImportHookFunction · 0.90

Calls 1

getDbDirFunction · 0.90

Tested by

no test coverage detected