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

Function toPosix

apps/desktop/src/main/databases.ts:44–46  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

42const SCHEMA_SAMPLE_ROWS = 50
43
44function toPosix(p: string): string {
45 return p.replace(/\\/g, '/')
46}
47
48/** Database title: its `.base` folder name (legacy: the `.csv` basename). */
49function titleFromPath(rel: string): string {

Callers 11

titleFromPathFunction · 0.70
pagesToFullFunction · 0.70
pagesToRelativeFunction · 0.70
readSidecarFunction · 0.70
hydrateFunction · 0.70
persistSidecarFunction · 0.70
createDatabaseFunction · 0.70
createRecordPageFunction · 0.70
deleteDatabaseFunction · 0.70
renameDatabaseFunction · 0.70
walkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected