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

Function dbToPosix

apps/web/src/bridge/http-bridge.ts:627–629  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

625 return crypto.randomUUID()
626}
627function dbToPosix(p: string): string {
628 return p.replace(/\\/g, '/')
629}
630function joinSub(...parts: string[]): string {
631 return parts
632 .map((p) => p.replace(/^\/+|\/+$/g, ''))

Callers 12

dbTitleFromPathFunction · 0.85
dbPagesToFullFunction · 0.85
dbPagesToRelativeFunction · 0.85
dbHydrateFunction · 0.85
dbReadSidecarFunction · 0.85
dbPersistSidecarFunction · 0.85
splitVaultPathFunction · 0.85
openDatabaseFunction · 0.85
writeDatabaseRowsFunction · 0.85
writeDatabaseSchemaFunction · 0.85
createRecordPageFunction · 0.85
renameDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected