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

Method with_color

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

Builder: set whether to use colored output.

(mut self, color: bool)

Source from the content-addressed store, hash-verified

338
339 /// Builder: set whether to use colored output.
340 pub fn with_color(mut self, color: bool) -> Self {
341 self.color = color;
342 self
343 }
344
345 /// Builder: set the output format.
346 pub fn with_format(mut self, format: DiffFormat) -> Self {

Callers 1

build_change_diffFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected