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

Method is_create

atomic-core/src/crdt/trunk.rs:357–359  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

355 /// Returns `true` if this is a create operation.
356 #[inline]
357 pub fn is_create(&self) -> bool {
358 matches!(self, TrunkOp::Create { .. })
359 }
360
361 /// Returns `true` if this is a delete operation.
362 #[inline]

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected