(pos: &Position<Option<ContentHash>>)
| 2640 | } |
| 2641 | |
| 2642 | fn position_hashes(pos: &Position<Option<ContentHash>>) -> impl Iterator<Item = ContentHash> + '_ { |
| 2643 | pos.change |
| 2644 | .into_iter() |
| 2645 | .filter(|hash| *hash != ContentHash::NONE) |
| 2646 | } |
| 2647 | |
| 2648 | fn split_graph_first_lines(content: &[u8]) -> Vec<&[u8]> { |
| 2649 | if content.is_empty() { |
no test coverage detected