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

Method iter_adjacent

atomic-core/src/record/context.rs:802–809  ·  view source on GitHub ↗
(
            &self,
            _vertex: GraphNode<NodeId>,
            _min_flag: EdgeFlags,
            _max_flag: EdgeFlags,
        )

Source from the content-addressed store, hash-verified

800 }
801
802 fn iter_adjacent(
803 &self,
804 _vertex: GraphNode<NodeId>,
805 _min_flag: EdgeFlags,
806 _max_flag: EdgeFlags,
807 ) -> Result<Self::Adj, PristineError> {
808 Ok(MockAdjIter(Vec::new().into_iter()))
809 }
810
811 fn find_block(&self, _pos: Position<NodeId>) -> Result<GraphNode<NodeId>, PristineError> {
812 Err(PristineError::BlockNotFound { change: 0, pos: 0 })

Callers

nothing calls this directly

Calls 2

MockAdjIterClass · 0.70
into_iterMethod · 0.45

Tested by

no test coverage detected