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

Method WriteNoteComments

apps/server/internal/vault/vault.go:1311–1315  ·  view source on GitHub ↗
(rel string, comments []NoteComment)

Source from the content-addressed store, hash-verified

1309}
1310
1311func (v *Vault) WriteNoteComments(rel string, comments []NoteComment) ([]NoteComment, error) {
1312 v.mu.Lock()
1313 defer v.mu.Unlock()
1314 return v.writeNoteCommentsLocked(rel, comments)
1315}
1316
1317func (v *Vault) removeNoteCommentsLocked(rel string) error {
1318 abs, err := v.commentsPath(rel)

Calls 1