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

Method with_format

atomic-repository/src/diff_engine.rs:346–349  ·  view source on GitHub ↗

Builder: set the output format.

(mut self, format: DiffFormat)

Source from the content-addressed store, hash-verified

344
345 /// Builder: set the output format.
346 pub fn with_format(mut self, format: DiffFormat) -> Self {
347 self.format = format;
348 self
349 }
350
351 /// Builder: set the stat graph width.
352 pub fn with_stat_width(mut self, width: usize) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected