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

Function joinSub

apps/web/src/bridge/http-bridge.ts:630–635  ·  view source on GitHub ↗
(...parts: string[])

Source from the content-addressed store, hash-verified

628 return p.replace(/\\/g, '/')
629}
630function joinSub(...parts: string[]): string {
631 return parts
632 .map((p) => p.replace(/^\/+|\/+$/g, ''))
633 .filter(Boolean)
634 .join('/')
635}
636
637/** Title of a database from its data.csv path. */
638function dbTitleFromPath(csvPath: string): string {

Callers 3

vaultRelDirFunction · 0.85
csvForFunction · 0.85
createDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected