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

Function csvPathForFormDir

packages/shared-domain/src/databases.ts:67–69  ·  view source on GitHub ↗
(formDir: string)

Source from the content-addressed store, hash-verified

65
66/** The `data.csv` path for a database folder path. e.g. `a/X.base` → `a/X.base/data.csv`. */
67export function csvPathForFormDir(formDir: string): string {
68 return `${toPosixPath(formDir)}/${FORM_DATA_FILE}`
69}
70
71/** The `schema.json` path for a database's `data.csv` path, or null. */
72export function databaseSchemaPathFor(csvPath: string): string | null {

Callers 9

databases.test.tsFile · 0.90
handleSelectFunction · 0.90
listDatabaseLinkTargetsFunction · 0.90
createDatabaseFunction · 0.90
renameDatabaseFunction · 0.90
walkFunction · 0.90
csvForFunction · 0.90
renameDatabaseFunction · 0.90
listDatabasesFunction · 0.90

Calls 1

toPosixPathFunction · 0.85

Tested by

no test coverage detected