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

Method effective_format

atomic-cli/src/commands/log/command.rs:143–149  ·  view source on GitHub ↗

Resolve the effective output format, accounting for `--short`.

(&self)

Source from the content-addressed store, hash-verified

141
142 /// Resolve the effective output format, accounting for `--short`.
143 pub(crate) fn effective_format(&self) -> LogFormat {
144 if self.short {
145 LogFormat::Short
146 } else {
147 self.format
148 }
149 }
150
151 /// Builder: set the count limit.
152 pub fn with_count(mut self, count: usize) -> Self {

Callers 3

print_entriesMethod · 0.80
print_empty_historyMethod · 0.80
print_fork_pointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected