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

Method should_output

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

Source from the content-addressed store, hash-verified

103 /// Returns `true` if content should be output for this state.
104 #[inline]
105 pub fn should_output(&self) -> bool {
106 matches!(self, TrunkState::Alive | TrunkState::Zombie)
107 }
108
109 /// Returns the state as a single character for compact display.
110 pub fn as_char(&self) -> char {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected