(repo: &R, offset: u64)
| 448 | } |
| 449 | |
| 450 | fn segment_label<R: Repo>(repo: &R, offset: u64) -> String { |
| 451 | repo.segment_file_path(offset) |
| 452 | .unwrap_or_else(|| format!("offset {offset}")) |
| 453 | } |
| 454 | |
| 455 | fn with_segment_context<R: Repo>(context: &'static str, repo: &R, offset: u64, source: io::Error) -> io::Error { |
| 456 | io::Error::new( |
no test coverage detected
searching dependent graphs…