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

Function match_stat_data_racy

read-cache.c:377–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377int match_stat_data_racy(const struct index_state *istate,
378 const struct stat_data *sd, struct stat *st)
379{
380 if (is_racy_stat(istate, sd))
381 return MTIME_CHANGED;
382 return match_stat_data(sd, st);
383}
384
385int ie_match_stat(struct index_state *istate,
386 const struct cache_entry *ce, struct stat *st,

Callers 2

add_patternsFunction · 0.85
valid_cached_dirFunction · 0.85

Calls 2

is_racy_statFunction · 0.85
match_stat_dataFunction · 0.85

Tested by

no test coverage detected