| 116 | } |
| 117 | |
| 118 | int 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 | |
| 128 | static int streaming_write_entry(const struct cache_entry *ce, char *path, |
| 129 | struct stream_filter *filter, |
no outgoing calls
no test coverage detected