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

Method with_context

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

Builder: set the number of context lines.

(mut self, context: usize)

Source from the content-addressed store, hash-verified

169
170 /// Builder: set the number of context lines.
171 pub fn with_context(mut self, context: usize) -> Self {
172 self.context = context;
173 self
174 }
175
176 /// Builder: set the stat flag.
177 pub fn with_stat(mut self, stat: bool) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected