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

Method is_binary

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

Source from the content-addressed store, hash-verified

221 /// Returns `true` if this is a binary file.
222 #[inline]
223 pub fn is_binary(&self) -> bool {
224 self.encoding == Some(Encoding::Binary)
225 }
226
227 /// Sets the trunk's state.
228 pub fn set_state(&mut self, state: TrunkState) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected