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

Function show_object

list-objects.c:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38static void show_object(struct traversal_context *ctx,
39 struct object *object,
40 const char *name)
41{
42 if (!ctx->show_object)
43 return;
44 if (ctx->revs->unpacked && has_object_pack(ctx->revs->repo,
45 &object->oid))
46 return;
47
48 ctx->show_object(object, name, ctx->show_data);
49}
50
51static void process_blob(struct traversal_context *ctx,
52 struct blob *blob,

Callers 3

process_blobFunction · 0.70
process_treeFunction · 0.70
process_tagFunction · 0.70

Calls 1

has_object_packFunction · 0.85

Tested by

no test coverage detected