Collect all files in a directory, respecting ignore patterns. # Arguments `root` - The root directory to walk `options` - Status options controlling which files to include # Returns A set of paths relative to the root directory.
(
root: &Path,
options: &StatusOptions,
)
| 1005 | /// |
| 1006 | /// A set of paths relative to the root directory. |
| 1007 | pub fn collect_working_copy_files( |
| 1008 | root: &Path, |
| 1009 | options: &StatusOptions, |
| 1010 | ) -> StatusResult<HashSet<PathBuf>> { |
| 1011 | collect_working_copy_files_with_rules(root, options, None) |
| 1012 | } |
| 1013 | |
| 1014 | /// Collect all files in a directory, respecting ignore patterns and custom rules. |
| 1015 | /// |