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

Function position_hashes

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

Source from the content-addressed store, hash-verified

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

Callers 1

build_graph_first_changeFunction · 0.85

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected