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

Method with_default_encoding

atomic-repository/src/record/options.rs:206–209  ·  view source on GitHub ↗
(mut self, encoding: Encoding)

Source from the content-addressed store, hash-verified

204 /// Set the default encoding for new files.
205 #[must_use]
206 pub fn with_default_encoding(mut self, encoding: Encoding) -> Self {
207 self.default_encoding = encoding;
208 self
209 }
210
211 /// Set maximum file size for diffing. Files larger than this are treated as binary.
212 #[must_use]

Callers 2

to_assembly_optionsMethod · 0.45

Calls

no outgoing calls

Tested by 1