Collect all files in a directory for tracking. This walks the directory tree and returns paths relative to the given root. Files matching `.atomicignore` patterns are excluded. # Arguments `root` - Repository root directory `path` - Path to collect files from (relative to root) `options` - Tracking options # Returns A vector of paths relative to the repository root.
(
root: &Path,
path: &Path,
options: &TrackingOptions,
)
| 175 | /// |
| 176 | /// A vector of paths relative to the repository root. |
| 177 | pub fn collect_files_for_tracking( |
| 178 | root: &Path, |
| 179 | path: &Path, |
| 180 | options: &TrackingOptions, |
| 181 | ) -> TrackingResult<Vec<PathBuf>> { |
| 182 | collect_files_for_tracking_with_rules(root, path, options, None) |
| 183 | } |
| 184 | |
| 185 | /// Collect all files in a directory for tracking, with optional ignore rules. |
| 186 | /// |