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

Method is_alive

atomic-core/src/crdt/branch.rs:83–85  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

81 /// Returns `true` if the branch is alive.
82 #[inline]
83 pub fn is_alive(&self) -> bool {
84 matches!(self, BranchState::Alive)
85 }
86
87 /// Returns `true` if the branch is deleted.
88 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected