MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / databaseDataPath

Function databaseDataPath

apps/desktop/src/main/vault.ts:725–727  ·  view source on GitHub ↗
(root: string, rel: string)

Source from the content-addressed store, hash-verified

723
724/** Absolute path of a database's `.csv` data file (a normal vault file). */
725export function databaseDataPath(root: string, rel: string): string {
726 return resolveSafe(root, toPosix(rel))
727}
728
729/**
730 * Absolute path of a database's schema/sidecar. New layout: `<Name>.base/

Callers 8

readPageContentFlagsFunction · 0.90
readDatabaseFunction · 0.90
writeDatabaseRowsFunction · 0.90
writeDatabaseSchemaFunction · 0.90
createDatabaseFunction · 0.90
createRecordPageFunction · 0.90
deleteDatabaseFunction · 0.90
renameDatabaseFunction · 0.90

Calls 2

resolveSafeFunction · 0.70
toPosixFunction · 0.70

Tested by

no test coverage detected