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

Function fstat_checkout_output

entry.c:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118int fstat_checkout_output(int fd, const struct checkout *state, struct stat *st)
119{
120 /* use fstat() only when path == ce->name */
121 if (fstat_is_reliable() &&
122 state->refresh_cache && !state->base_dir_len) {
123 return !fstat(fd, st);
124 }
125 return 0;
126}
127
128static int streaming_write_entry(const struct cache_entry *ce, char *path,
129 struct stream_filter *filter,

Callers 3

streaming_write_entryFunction · 0.85
write_entryFunction · 0.85
write_pc_itemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected