Helper for recv_generator's skip_dir and dry_missing_dir tests. */
| 1200 | static int implied_dirs_are_missing; |
| 1201 | /* Helper for recv_generator's skip_dir and dry_missing_dir tests. */ |
| 1202 | static BOOL is_below(struct file_struct *file, struct file_struct *subtree) |
| 1203 | { |
| 1204 | return F_DEPTH(file) > F_DEPTH(subtree) |
| 1205 | && (!implied_dirs_are_missing || f_name_has_prefix(file, subtree)); |
| 1206 | } |
| 1207 | |
| 1208 | /* Acts on the indicated item in cur_flist whose name is fname. If a dir, |
| 1209 | * make sure it exists, and has the right permissions/timestamp info. For |
no test coverage detected