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

Function index_state_init

read-cache.c:2420–2424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2418}
2419
2420void index_state_init(struct index_state *istate, struct repository *r)
2421{
2422 struct index_state blank = INDEX_STATE_INIT(r);
2423 memcpy(istate, &blank, sizeof(*istate));
2424}
2425
2426void release_index(struct index_state *istate)
2427{

Callers 8

move_cache_to_base_indexFunction · 0.85
unpack_treesFunction · 0.85
update_sparsityFunction · 0.85
initialize_repositoryFunction · 0.85
repo_read_indexFunction · 0.85
read_index_fromFunction · 0.85
discard_indexFunction · 0.85
write_ondisk_indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected