MCPcopy Index your code
hub / github.com/ZenNotes/zennotes / ReadNoteComments

Method ReadNoteComments

apps/server/internal/vault/vault.go:1276–1280  ·  view source on GitHub ↗
(rel string)

Source from the content-addressed store, hash-verified

1274}
1275
1276func (v *Vault) ReadNoteComments(rel string) ([]NoteComment, error) {
1277 v.mu.RLock()
1278 defer v.mu.RUnlock()
1279 return v.readNoteCommentsLocked(rel)
1280}
1281
1282func (v *Vault) writeNoteCommentsLocked(rel string, comments []NoteComment) ([]NoteComment, error) {
1283 notePath := filepath.ToSlash(rel)

Callers 2

readCommentsMethod · 0.80

Calls 1