| 1186 | } |
| 1187 | |
| 1188 | int for_each_note(struct notes_tree *t, int flags, each_note_fn fn, |
| 1189 | void *cb_data) |
| 1190 | { |
| 1191 | if (!t) |
| 1192 | t = &default_notes_tree; |
| 1193 | assert(t->initialized); |
| 1194 | return for_each_note_helper(t, t->root, 0, 0, flags, fn, cb_data); |
| 1195 | } |
| 1196 | |
| 1197 | int write_notes_tree(struct notes_tree *t, struct object_id *result) |
| 1198 | { |
no test coverage detected