MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toLibsqlFileUrl

Function toLibsqlFileUrl

apps/local/src/db/data-dir-ownership.ts:21–21  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

19const LOCK_DATABASE_FILENAME = "data.db.owner-lock";
20
21const toLibsqlFileUrl = (path: string): string => pathToFileURL(resolve(path)).href;
22
23const ownerLockPath = (dataDir: string): string => {
24 mkdirSync(dataDir, { recursive: true });

Callers 1

openOwnershipLockClientFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected