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

Method empty

atomic-core/src/change/classification.rs:183–185  ·  view source on GitHub ↗

Construct an empty frontier.

()

Source from the content-addressed store, hash-verified

181
182 /// Construct an empty frontier.
183 pub const fn empty() -> Self {
184 Self { roots: Vec::new() }
185 }
186
187 /// Canonically ordered closure roots.
188 pub fn roots(&self) -> &[Hash] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected