MCPcopy Create free account
hub / github.com/git/git / range_set_append_unsafe

Function range_set_append_unsafe

line-log.c:63–70  ·  view source on GitHub ↗

tack on a _new_ range _at the end_ */

Source from the content-addressed store, hash-verified

61
62/* tack on a _new_ range _at the end_ */
63void range_set_append_unsafe(struct range_set *rs, long a, long b)
64{
65 assert(a <= b);
66 range_set_grow(rs, 1);
67 rs->ranges[rs->nr].start = a;
68 rs->ranges[rs->nr].end = b;
69 rs->nr++;
70}
71
72void range_set_append(struct range_set *rs, long a, long b)
73{

Callers 3

range_set_appendFunction · 0.85
line_log_data_insertFunction · 0.85
cmd_blameFunction · 0.85

Calls 1

range_set_growFunction · 0.85

Tested by

no test coverage detected