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

Function hasAssetsDir

apps/web/src/bridge/http-bridge.ts:379–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377}
378
379function hasAssetsDir(): Promise<boolean> {
380 return jsonRequest<{ exists: boolean }>('/assets/exists').then(r => r.exists)
381}
382
383function readNote(relPath: string): Promise<NoteContent> {
384 return jsonRequest<NoteContent>(`/notes/read?path=${encodeURIComponent(relPath)}`)

Callers

nothing calls this directly

Calls 1

jsonRequestFunction · 0.85

Tested by

no test coverage detected