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

Function read_file_or_gitlink

apply.c:3400–3405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3398}
3399
3400static int read_file_or_gitlink(const struct cache_entry *ce, struct strbuf *buf)
3401{
3402 if (!ce)
3403 return 0;
3404 return read_blob_object(buf, &ce->oid, ce->ce_mode);
3405}
3406
3407static struct patch *in_fn_table(struct apply_state *state, const char *name)
3408{

Callers 1

load_patch_targetFunction · 0.85

Calls 1

read_blob_objectFunction · 0.85

Tested by

no test coverage detected