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

Method with_context

atomic-repository/src/diff_engine.rs:334–337  ·  view source on GitHub ↗

Builder: set the number of context lines.

(mut self, lines: usize)

Source from the content-addressed store, hash-verified

332
333 /// Builder: set the number of context lines.
334 pub fn with_context(mut self, lines: usize) -> Self {
335 self.context_lines = lines;
336 self
337 }
338
339 /// Builder: set whether to use colored output.
340 pub fn with_color(mut self, color: bool) -> Self {

Callers 6

runFunction · 0.45
gitFunction · 0.45
serveFunction · 0.45
runFunction · 0.45

Calls

no outgoing calls