MCPcopy Index your code
hub / github.com/Waishnav/devspace / databasePath

Function databasePath

src/db/client.ts:17–19  ·  view source on GitHub ↗
(stateDir: string)

Source from the content-addressed store, hash-verified

15}
16
17export function databasePath(stateDir: string): string {
18 return join(stateDir, "devspace.sqlite");
19}
20
21export function openDatabase(stateDir: string): DatabaseHandle {
22 mkdirSync(stateDir, { recursive: true, mode: 0o700 });

Callers 2

openDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by 1