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

Method with_json

atomic-cli/src/commands/diff/command.rs:219–222  ·  view source on GitHub ↗

Builder: set the JSON output flag.

(mut self, json: bool)

Source from the content-addressed store, hash-verified

217
218 /// Builder: set the JSON output flag.
219 pub fn with_json(mut self, json: bool) -> Self {
220 self.json = json;
221 self
222 }
223
224 /// Get the output format based on command flags.
225 pub fn get_format(&self) -> DiffFormat {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected