MCPcopy Index your code
hub / github.com/git/git / reftable_stack_next_update_index

Function reftable_stack_next_update_index

reftable/stack.c:958–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958uint64_t reftable_stack_next_update_index(struct reftable_stack *st)
959{
960 int sz = st->merged->tables_len;
961 if (sz > 0)
962 return reftable_table_max_update_index(st->tables[sz - 1]) +
963 1;
964 return 1;
965}
966
967static int stack_write_compact(struct reftable_stack *st,
968 struct reftable_writer *wr,

Calls 1