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

Method empty

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

Create an empty iterator

()

Source from the content-addressed store, hash-verified

264
265 /// Create an empty iterator
266 pub fn empty() -> Self {
267 Self {
268 edges: Vec::new(),
269 index: 0,
270 }
271 }
272}
273
274impl Iterator for AdjIterator {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected