| 234 | } |
| 235 | |
| 236 | void reftable_iterator_destroy(struct reftable_iterator *it) |
| 237 | { |
| 238 | if (!it->ops) |
| 239 | return; |
| 240 | it->ops->close(it->iter_arg); |
| 241 | it->ops = NULL; |
| 242 | REFTABLE_FREE_AND_NULL(it->iter_arg); |
| 243 | } |
| 244 | |
| 245 | int reftable_iterator_seek_ref(struct reftable_iterator *it, |
| 246 | const char *name) |
no outgoing calls