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

Function csvFor

apps/web/src/bridge/http-bridge.ts:846–847  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

844 const baseName = baseTitle.replace(DB_TITLE_BAD, '-')
845 const dirRel = vaultRelDir(folder, subpath, atRoot)
846 const csvFor = (name: string): string =>
847 csvPathForFormDir(joinSub(dirRel, `${name}${FORM_DIR_SUFFIX}`))
848 // Resolve a non-colliding <Name>.base under the directory.
849 let name = baseName
850 let n = 2

Callers 1

createDatabaseFunction · 0.85

Calls 2

csvPathForFormDirFunction · 0.90
joinSubFunction · 0.85

Tested by

no test coverage detected