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

Function reftable_stack_clean

reftable/stack.c:1807–1825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1805}
1806
1807int reftable_stack_clean(struct reftable_stack *st)
1808{
1809 struct reftable_addition *add = NULL;
1810 int err = reftable_stack_new_addition(&add, st, 0);
1811 if (err < 0) {
1812 goto done;
1813 }
1814
1815 err = reftable_stack_reload(st);
1816 if (err < 0) {
1817 goto done;
1818 }
1819
1820 err = reftable_stack_clean_locked(st);
1821
1822done:
1823 reftable_addition_destroy(add);
1824 return err;
1825}
1826
1827enum reftable_hash reftable_stack_hash_id(struct reftable_stack *st)
1828{

Calls 4

reftable_stack_reloadFunction · 0.85