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

Method is_empty

atomic-core/src/crdt/leaf.rs:199–201  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

197 /// Returns `true` if this is an empty token.
198 #[inline]
199 pub fn is_empty(&self) -> bool {
200 self.content_start == self.content_end
201 }
202
203 /// Returns the current lifecycle state.
204 #[inline]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected