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

Method is_text

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

Source from the content-addressed store, hash-verified

215 /// Returns `true` if this is a text file.
216 #[inline]
217 pub fn is_text(&self) -> bool {
218 self.encoding.is_some_and(|e| e.is_text())
219 }
220
221 /// Returns `true` if this is a binary file.
222 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected