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

Method qcontains

src/licensedcode/match.py:444–448  ·  view source on GitHub ↗

Return True if qspan contains other.qspan.

(self, other)

Source from the content-addressed store, hash-verified

442 return other.qspan in self.qspan and other.ispan in self.ispan
443
444 def qcontains(self, other):
445 """
446 Return True if qspan contains other.qspan.
447 """
448 return other.qspan in self.qspan
449
450 def qdistance_to(self, other):
451 """

Callers 2

merge_matchesFunction · 0.80
filter_contained_matchesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected