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

Function index_entry_exists

read-cache.c:578–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578int index_entry_exists(struct index_state *istate, const char *name, int namelen)
579{
580 return index_name_stage_pos(istate, name, namelen, 0, NO_EXPAND_SPARSE) >= 0;
581}
582
583int remove_index_entry_at(struct index_state *istate, int pos)
584{

Callers 2

prime_cache_tree_recFunction · 0.85
cmd_mvFunction · 0.85

Calls 1

index_name_stage_posFunction · 0.85

Tested by

no test coverage detected