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

Function exists

apps/desktop/src/main/databases-migrate.test.ts:21–24  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

19})
20
21const exists = (p: string): Promise<boolean> =>
22 access(p)
23 .then(() => true)
24 .catch(() => false)
25
26// A minimal legacy database: loose `<Name>.csv` + co-located sidecar, with one
27// record-page note under the per-database `<Name>/` folder.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected