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

Function is_racy_timestamp

read-cache.c:370–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370int is_racy_timestamp(const struct index_state *istate,
371 const struct cache_entry *ce)
372{
373 return (!S_ISGITLINK(ce->ce_mode) &&
374 is_racy_stat(istate, &ce->ce_stat_data));
375}
376
377int match_stat_data_racy(const struct index_state *istate,
378 const struct stat_data *sd, struct stat *st)

Callers 4

ie_match_statFunction · 0.85
has_racy_timestampFunction · 0.85
do_write_indexFunction · 0.85

Calls 1

is_racy_statFunction · 0.85

Tested by

no test coverage detected