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

Function before_lines

atomic-cli/src/commands/diff/tests.rs:717–719  ·  view source on GitHub ↗

Build before-content lines "l1".."lN".

(n: usize)

Source from the content-addressed store, hash-verified

715
716 /// Build before-content lines "l1".."lN".
717 fn before_lines(n: usize) -> Vec<Vec<u8>> {
718 (1..=n).map(|i| format!("l{}", i).into_bytes()).collect()
719 }
720
721 #[test]
722 fn test_hunks_pure_insertion_zero_context_header() {

Calls 1

collectMethod · 0.45

Tested by

no test coverage detected