MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / position_hashes

Function position_hashes

atomic-cli/src/commands/git/parallel.rs:679–683  ·  view source on GitHub ↗
(pos: &Position<Option<ContentHash>>)

Source from the content-addressed store, hash-verified

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

Callers 1

build_graph_first_changeFunction · 0.85

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected