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

Function in_fn_table

apply.c:3407–3419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3405}
3406
3407static struct patch *in_fn_table(struct apply_state *state, const char *name)
3408{
3409 struct string_list_item *item;
3410
3411 if (!name)
3412 return NULL;
3413
3414 item = string_list_lookup(&state->fn_table, name);
3415 if (item)
3416 return (struct patch *)item->util;
3417
3418 return NULL;
3419}
3420
3421/*
3422 * item->util in the filename table records the status of the path.

Callers 2

previous_patchFunction · 0.85
check_patchFunction · 0.85

Calls 1

string_list_lookupFunction · 0.85

Tested by

no test coverage detected