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

Method new

atomic-core/src/pristine/txn/helpers.rs:261–263  ·  view source on GitHub ↗

Create a new adjacency iterator from a vector of edges

(edges: Vec<SerializedGraphEdge>)

Source from the content-addressed store, hash-verified

259impl AdjIterator {
260 /// Create a new adjacency iterator from a vector of edges
261 pub fn new(edges: Vec<SerializedGraphEdge>) -> Self {
262 Self { edges, index: 0 }
263 }
264
265 /// Create an empty iterator
266 pub fn empty() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected