(path: &Path, range: R)
| 214 | } |
| 215 | |
| 216 | fn create_reader<R: RangeBounds<u64>>(path: &Path, range: R) -> impl AsyncBufRead + use<R> { |
| 217 | BufReader::new(StreamReader::new(stream::commits( |
| 218 | repo::Fs::new(CommitLogDir::from_path_unchecked(path), None).unwrap(), |
| 219 | range, |
| 220 | ))) |
| 221 | } |
| 222 | |
| 223 | async fn create_dirs(root: &Path) -> (PathBuf, PathBuf) { |
| 224 | let src = root.join("a"); |
no test coverage detected
searching dependent graphs…