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

Function clear_delta_base_cache

packfile.c:1543–1551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1541}
1542
1543void clear_delta_base_cache(void)
1544{
1545 struct list_head *lru, *tmp;
1546 list_for_each_safe(lru, tmp, &delta_base_cache_lru) {
1547 struct delta_base_cache_entry *entry =
1548 list_entry(lru, struct delta_base_cache_entry, lru);
1549 release_delta_base_cache(entry);
1550 }
1551}
1552
1553static void add_delta_base_cache(struct packed_git *p, off_t base_offset,
1554 void *base, size_t base_size,

Callers 1

end_packfileFunction · 0.85

Calls 1

release_delta_base_cacheFunction · 0.85

Tested by

no test coverage detected