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

Method is_alive

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

Source from the content-addressed store, hash-verified

85 /// Returns `true` if the trunk is alive.
86 #[inline]
87 pub fn is_alive(&self) -> bool {
88 matches!(self, TrunkState::Alive)
89 }
90
91 /// Returns `true` if the trunk is deleted.
92 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected