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

Function pack_geometry_weight

repack-geometry.c:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "packfile.h"
9
10static uint32_t pack_geometry_weight(struct packed_git *p)
11{
12 if (open_pack_index(p))
13 die(_("cannot open index for %s"), p->pack_name);
14 return p->num_objects;
15}
16
17static int pack_geometry_cmp(const void *va, const void *vb)
18{

Callers 2

pack_geometry_cmpFunction · 0.85

Calls 2

open_pack_indexFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected