MCPcopy Index your code
hub / github.com/git/git / want_recent_object

Function want_recent_object

reachable.c:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194static int want_recent_object(struct recent_data *data,
195 const struct object_id *oid)
196{
197 if (data->ignore_in_core_kept_packs &&
198 has_object_kept_pack(data->revs->repo, oid, KEPT_PACK_IN_CORE))
199 return 0;
200 return 1;
201}
202
203static int add_recent_object(const struct object_id *oid,
204 struct object_info *oi,

Callers 1

add_recent_objectFunction · 0.85

Calls 1

has_object_kept_packFunction · 0.85

Tested by

no test coverage detected