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,
)
| 762 | /// |
| 763 | /// A set of paths relative to the root directory. |
| 764 | pub fn collect_working_copy_files( |
| 765 | root: &Path, |
| 766 | options: &StatusOptions, |
| 767 | ) -> StatusResult<HashSet<PathBuf>> { |
| 768 | collect_working_copy_files_with_rules(root, options, None) |
| 769 | } |
| 770 | |
| 771 | /// Collect all files in a directory, respecting ignore patterns and custom rules. |
| 772 | /// |