(pos: &Position<Option<ContentHash>>)
| 677 | } |
| 678 | |
| 679 | fn position_hashes(pos: &Position<Option<ContentHash>>) -> impl Iterator<Item = ContentHash> + '_ { |
| 680 | pos.change |
| 681 | .into_iter() |
| 682 | .filter(|hash| *hash != ContentHash::NONE) |
| 683 | } |
| 684 | |
| 685 | fn split_graph_first_lines(content: &[u8]) -> Vec<&[u8]> { |
| 686 | if content.is_empty() { |
no test coverage detected