(root: &Path, paths: &[RepoPath])
| 1001 | } |
| 1002 | |
| 1003 | fn source(root: &Path, paths: &[RepoPath]) -> ChangeSourceResult { |
| 1004 | ScanChangeSource |
| 1005 | .changes(ChangeSourceRequest { |
| 1006 | root, |
| 1007 | tracked_paths: paths, |
| 1008 | previous_token: None, |
| 1009 | }) |
| 1010 | .unwrap() |
| 1011 | } |
| 1012 | |
| 1013 | #[test] |
| 1014 | fn cold_and_warm_scans_produce_the_same_root_and_warm_avoids_content_reads() { |