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

Method contains

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

Check if a line number is in this range.

(&self, line: u64)

Source from the content-addressed store, hash-verified

575
576 /// Check if a line number is in this range.
577 pub fn contains(&self, line: u64) -> bool {
578 line >= self.start_line && line <= self.end_line
579 }
580
581 /// Try to extend this range with another credit.
582 ///

Callers 15

validate_view_nameFunction · 0.45
parse_versionFunction · 0.45
validate_view_nameMethod · 0.45
resolve_identityFunction · 0.45
runMethod · 0.45
display_dry_runMethod · 0.45
build_provenanceMethod · 0.45
add_remoteMethod · 0.45
set_urlMethod · 0.45
is_path_shapedFunction · 0.45
executeMethod · 0.45

Calls

no outgoing calls

Tested by 5

print_coverageMethod · 0.36
has_divergedFunction · 0.36
covers_changeMethod · 0.36