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

Method add_line

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

Add a line to this graph_op.

(&mut self, line: HunkLine)

Source from the content-addressed store, hash-verified

411
412 /// Add a line to this graph_op.
413 pub fn add_line(&mut self, line: HunkLine) {
414 self.lines.push(line);
415 }
416
417 /// Get the graph_op header in unified diff format.
418 ///

Callers 2

build_hunks_from_diffFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected