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

Function kvi_from_source

config.c:1038–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038static void kvi_from_source(struct config_source *cs,
1039 enum config_scope scope,
1040 struct key_value_info *out)
1041{
1042 out->filename = strintern(cs->name);
1043 out->origin_type = cs->origin_type;
1044 out->linenr = cs->linenr;
1045 out->scope = scope;
1046}
1047
1048static int git_parse_source(struct config_source *cs, config_fn_t fn,
1049 struct key_value_info *kvi, void *data,

Callers 1

do_config_fromFunction · 0.85

Calls 1

strinternFunction · 0.85

Tested by

no test coverage detected