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

Method lines

src/licensedcode/match.py:394–397  ·  view source on GitHub ↗
(self, line_by_pos=None)

Source from the content-addressed store, hash-verified

392 return self.rule.licensing_contains(other.rule)
393
394 def lines(self, line_by_pos=None):
395 if line_by_pos:
396 self.set_lines(line_by_pos)
397 return self.start_line, self.end_line
398
399 def set_lines(self, line_by_pos):
400 """

Calls 1

set_linesMethod · 0.95