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

Function pagesDirFromCsvPath

packages/shared-domain/src/databases.ts:78–81  ·  view source on GitHub ↗
(csvPath: string)

Source from the content-addressed store, hash-verified

76
77/** The pages-dir path for a database's `data.csv` path, or null. */
78export function pagesDirFromCsvPath(csvPath: string): string | null {
79 const dir = formDirFromCsvPath(csvPath)
80 return dir ? `${dir}/${FORM_PAGES_DIR}` : null
81}
82
83/**
84 * If `relPath` lives inside a `.base` database folder, return that folder path;

Callers 1

databases.test.tsFile · 0.90

Calls 1

formDirFromCsvPathFunction · 0.85

Tested by

no test coverage detected