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

Function fake_lstat

read-cache.c:224–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224int fake_lstat(const struct cache_entry *ce, struct stat *st)
225{
226 fake_lstat_data(&ce->ce_stat_data, st);
227 st->st_mode = st_mode_from_ce(ce);
228
229 /* always succeed as lstat() replacement */
230 return 0;
231}
232
233static int ce_compare_data(struct index_state *istate,
234 const struct cache_entry *ce,

Callers 1

check_removedFunction · 0.85

Calls 2

fake_lstat_dataFunction · 0.85
st_mode_from_ceFunction · 0.85

Tested by

no test coverage detected