| 243 | } |
| 244 | |
| 245 | int reftable_iterator_seek_ref(struct reftable_iterator *it, |
| 246 | const char *name) |
| 247 | { |
| 248 | struct reftable_record want = { |
| 249 | .type = REFTABLE_BLOCK_TYPE_REF, |
| 250 | .u.ref = { |
| 251 | .refname = (char *)name, |
| 252 | }, |
| 253 | }; |
| 254 | return it->ops->seek(it->iter_arg, &want); |
| 255 | } |
| 256 | |
| 257 | int reftable_iterator_next_ref(struct reftable_iterator *it, |
| 258 | struct reftable_ref_record *ref) |
no outgoing calls