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

Method with_context

atomic-core/src/diff/semantic/config.rs:57–61  ·  view source on GitHub ↗

Include context lines in output.

(mut self, lines: usize)

Source from the content-addressed store, hash-verified

55
56 /// Include context lines in output.
57 pub fn with_context(mut self, lines: usize) -> Self {
58 self.include_context = true;
59 self.context_lines = lines;
60 self
61 }
62
63 /// Ignore whitespace-only changes.
64 pub fn ignore_whitespace(mut self) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1