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

Method effective_format

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

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

(&self)

Source from the content-addressed store, hash-verified

139
140 /// Resolve the effective output format, accounting for `--short`.
141 pub(crate) fn effective_format(&self) -> LogFormat {
142 if self.short {
143 LogFormat::Short
144 } else {
145 self.format
146 }
147 }
148
149 /// Builder: set the count limit.
150 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