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

Method single

atomic-core/src/change/credit.rs:567–569  ·  view source on GitHub ↗

Create a single-line range.

(line: u64, credit: Credit)

Source from the content-addressed store, hash-verified

565
566 /// Create a single-line range.
567 pub fn single(line: u64, credit: Credit) -> Self {
568 Self::new(line, line, credit)
569 }
570
571 /// Get the number of lines in this range.
572 pub fn line_count(&self) -> u64 {

Callers 1

extract_commit_metadataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected