MCPcopy Create free account
hub / github.com/git/git / reftable_iterator_seek_ref

Function reftable_iterator_seek_ref

reftable/iter.c:245–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245int 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
257int reftable_iterator_next_ref(struct reftable_iterator *it,
258 struct reftable_ref_record *ref)

Calls

no outgoing calls