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

Method iter_adjacent

atomic-core/src/merge/engine.rs:526–538  ·  view source on GitHub ↗
(
            &self,
            _node: GraphNode<NodeId>,
            _min_flag: EdgeFlags,
            _max_flag: EdgeFlags,
        )

Source from the content-addressed store, hash-verified

524 }
525
526 fn iter_adjacent(
527 &self,
528 _node: GraphNode<NodeId>,
529 _min_flag: EdgeFlags,
530 _max_flag: EdgeFlags,
531 ) -> Result<Self::Adj, PristineError> {
532 if self.fail_adjacency {
533 return Err(PristineError::Inconsistent {
534 message: "scripted ancestor graph failure".to_string(),
535 });
536 }
537 Ok(Vec::new().into_iter())
538 }
539
540 fn find_block(
541 &self,

Callers 2

claimant_for_nameFunction · 0.45

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected