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

Function packfile_store_read_object_stream

packfile.c:2976–2986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2974}
2975
2976int packfile_store_read_object_stream(struct odb_read_stream **out,
2977 struct packfile_store *store,
2978 const struct object_id *oid)
2979{
2980 struct pack_entry e;
2981
2982 if (!find_pack_entry(store, oid, &e))
2983 return -1;
2984
2985 return packfile_read_object_stream(out, oid, e.p, e.offset);
2986}

Callers 1

Calls 2

find_pack_entryFunction · 0.85

Tested by

no test coverage detected