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

Function is_index_unborn

read-cache.c:2415–2418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2413}
2414
2415int is_index_unborn(struct index_state *istate)
2416{
2417 return (!istate->cache_nr && !istate->timestamp.sec);
2418}
2419
2420void index_state_init(struct index_state *istate, struct repository *r)
2421{

Callers 5

has_uncommitted_changesFunction · 0.85
init_toptsFunction · 0.85
cmd_pullFunction · 0.85
update_working_directoryFunction · 0.85
cmd_read_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected