(pos: &Position<Option<ContentHash>>)
| 790 | } |
| 791 | |
| 792 | fn position_hashes(pos: &Position<Option<ContentHash>>) -> impl Iterator<Item = ContentHash> + '_ { |
| 793 | pos.change |
| 794 | .into_iter() |
| 795 | .filter(|hash| *hash != ContentHash::NONE) |
| 796 | } |
| 797 | |
| 798 | fn split_graph_first_lines(content: &[u8]) -> Vec<&[u8]> { |
| 799 | if content.is_empty() { |
no test coverage detected