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

Function unuse_pack

packfile.c:785–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785void unuse_pack(struct pack_window **w_cursor)
786{
787 struct pack_window *w = *w_cursor;
788 if (w) {
789 w->inuse_cnt--;
790 *w_cursor = NULL;
791 }
792}
793
794struct packed_git *add_packed_git(struct repository *r, const char *path,
795 size_t path_len, int local)

Callers 11

verify_packfileFunction · 0.85
verify_packFunction · 0.85
unpack_entryFunction · 0.85
write_reuse_objectFunction · 0.85
write_reused_packFunction · 0.85
check_objectFunction · 0.85
oe_get_size_slowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected