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

Method as_slice

atomic-core/src/operation/mod.rs:164–166  ·  view source on GitHub ↗

Borrow heads in canonical ascending order.

(&self)

Source from the content-addressed store, hash-verified

162
163 /// Borrow heads in canonical ascending order.
164 pub fn as_slice(&self) -> &[OperationId] {
165 &self.heads
166 }
167
168 /// Consume this set and return canonical ascending IDs.
169 pub fn into_vec(self) -> Vec<OperationId> {

Calls

no outgoing calls