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