(pos: &Position<Option<ContentHash>>)
| 738 | } |
| 739 | |
| 740 | fn position_hashes(pos: &Position<Option<ContentHash>>) -> impl Iterator<Item = ContentHash> + '_ { |
| 741 | pos.change |
| 742 | .into_iter() |
| 743 | .filter(|hash| *hash != ContentHash::NONE) |
| 744 | } |
| 745 | |
| 746 | fn split_graph_first_lines(content: &[u8]) -> Vec<&[u8]> { |
| 747 | if content.is_empty() { |
no test coverage detected