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

Method overlap

src/licensedcode/match.py:466–470  ·  view source on GitHub ↗

Return the number of overlapping positions with other.

(self, other)

Source from the content-addressed store, hash-verified

464 return self.ispan.distance_to(other.ispan)
465
466 def overlap(self, other):
467 """
468 Return the number of overlapping positions with other.
469 """
470 return self.qspan.overlap(other.qspan)
471
472 def _icoverage(self):
473 """

Callers 3

merge_matchesFunction · 0.45

Calls

no outgoing calls

Tested by 1