(pos: &Position<Option<ContentHash>>)
| 746 | } |
| 747 | |
| 748 | fn position_hashes(pos: &Position<Option<ContentHash>>) -> impl Iterator<Item = ContentHash> + '_ { |
| 749 | pos.change |
| 750 | .into_iter() |
| 751 | .filter(|hash| *hash != ContentHash::NONE) |
| 752 | } |
| 753 | |
| 754 | fn split_graph_first_lines(content: &[u8]) -> Vec<&[u8]> { |
| 755 | if content.is_empty() { |
no test coverage detected