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

Method hilen

src/licensedcode/match.py:432–436  ·  view source on GitHub ↗

Return the length of the match as the number of matched high tokens.

(self)

Source from the content-addressed store, hash-verified

430 return self.ispan.end
431
432 def hilen(self):
433 """
434 Return the length of the match as the number of matched high tokens.
435 """
436 return len(self.hispan)
437
438 def __contains__(self, other):
439 """

Callers 6

representationMethod · 0.95
is_smallMethod · 0.95
merge_matchesFunction · 0.80
filter_contained_matchesFunction · 0.80
filter_spurious_matchesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected