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

Function pbase_tree_put

builtin/pack-objects.c:2011–2019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2009}
2010
2011static void pbase_tree_put(struct pbase_tree_cache *cache)
2012{
2013 if (!cache->temporary) {
2014 cache->ref--;
2015 return;
2016 }
2017 free(cache->tree_data);
2018 free(cache);
2019}
2020
2021static size_t name_cmp_len(const char *name)
2022{

Callers 1

add_pbase_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected