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

Function position_hashes

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

Source from the content-addressed store, hash-verified

2640}
2641
2642fn position_hashes(pos: &Position<Option<ContentHash>>) -> impl Iterator<Item = ContentHash> + '_ {
2643 pos.change
2644 .into_iter()
2645 .filter(|hash| *hash != ContentHash::NONE)
2646}
2647
2648fn split_graph_first_lines(content: &[u8]) -> Vec<&[u8]> {
2649 if content.is_empty() {

Callers 2

compileMethod · 0.85
build_graph_first_changeFunction · 0.85

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected