MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / qregion_lines

Method qregion_lines

src/licensedcode/match.py:553–557  ·  view source on GitHub ↗

Return the maximal lines Span that this match query regions covers.

(self)

Source from the content-addressed store, hash-verified

551 return self.qspan.magnitude()
552
553 def qregion_lines(self):
554 """
555 Return the maximal lines Span that this match query regions covers.
556 """
557 return Span(self.start_line, self.end_line)
558
559 def qregion_lines_len(self):
560 """

Callers 1

get_matching_regionsFunction · 0.80

Calls 1

SpanClass · 0.90

Tested by

no test coverage detected