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

Method encoding

atomic-core/src/diff/semantic_to_crdt.rs:134–137  ·  view source on GitHub ↗

Set the text encoding.

(mut self, encoding: Option<Encoding>)

Source from the content-addressed store, hash-verified

132
133 /// Set the text encoding.
134 pub fn encoding(mut self, encoding: Option<Encoding>) -> Self {
135 self.encoding = encoding;
136 self
137 }
138
139 /// Set whether to include whitespace tokens.
140 pub fn include_whitespace(mut self, include: bool) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1