MCPcopy Create free account
hub / github.com/acl-dev/acl / check_range

Method check_range

lib_acl_cpp/src/stdlib/diff_string.cpp:39–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39bool diff_string::check_range(long long range_from, long long range_to) const
40{
41 if(range_from == -1 || range_to == -1) {
42 return true;
43 }
44
45 if (range_ < 0) {
46 return true;
47 }
48
49 return (range_ >= range_from && range_ <= range_to);
50}
51
52void diff_string::set_range(long long range)
53{

Callers 2

diff_changesMethod · 0.45
acl_foreachFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected