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

Function readNote

apps/web/src/bridge/http-bridge.ts:383–385  ·  view source on GitHub ↗
(relPath: string)

Source from the content-addressed store, hash-verified

381}
382
383function readNote(relPath: string): Promise<NoteContent> {
384 return jsonRequest<NoteContent>(`/notes/read?path=${encodeURIComponent(relPath)}`)
385}
386
387function readNoteComments(relPath: string): Promise<NoteComment[]> {
388 return jsonRequest<NoteComment[]>(`/comments/read?path=${encodeURIComponent(relPath)}`)

Callers 2

appendToNoteFunction · 0.70
readFileTextOrNullFunction · 0.70

Calls 1

jsonRequestFunction · 0.85

Tested by

no test coverage detected