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

Method trunk_op

atomic-core/src/change/ops.rs:247–249  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

245 /// Returns the trunk operation (if any).
246 #[inline]
247 pub fn trunk_op(&self) -> Option<&TrunkOp> {
248 self.trunk_op.as_ref()
249 }
250
251 /// Returns the line operations.
252 #[inline]

Calls 1

as_refMethod · 0.80