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

Function nth_packed_mtime

pack-mtimes.c:123–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123uint32_t nth_packed_mtime(struct packed_git *p, uint32_t pos)
124{
125 if (!p->mtimes_map)
126 BUG("pack .mtimes file not loaded for %s", p->pack_name);
127 if (p->num_objects <= pos)
128 BUG("pack .mtimes out-of-bounds (%"PRIu32" vs %"PRIu32")",
129 pos, p->num_objects);
130
131 return get_be32(p->mtimes_map + pos + 3);
132}

Callers 3

dump_mtimesFunction · 0.85
want_cruft_object_mtimeFunction · 0.85

Calls 1

get_be32Function · 0.85

Tested by 1

dump_mtimesFunction · 0.68