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

Function set_cruft_mtime

builtin/pack-objects.c:4218–4224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4216}
4217
4218static void set_cruft_mtime(const struct object *object,
4219 struct packed_git *pack,
4220 off_t offset, time_t mtime)
4221{
4222 add_cruft_object_entry(&object->oid, object->type, pack, offset, NULL,
4223 mtime);
4224}
4225
4226static void mark_pack_kept_in_core(struct string_list *packs, unsigned keep)
4227{

Callers

nothing calls this directly

Calls 1

add_cruft_object_entryFunction · 0.85

Tested by

no test coverage detected