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

Method get_length

src/licensedcode/models.py:2081–2082  ·  view source on GitHub ↗
(self, unique=False)

Source from the content-addressed store, hash-verified

2079 return str(build_spdx_license_expression(self.license_expression, licensing=get_cache().licensing))
2080
2081 def get_length(self, unique=False):
2082 return self.length_unique if unique else self.length
2083
2084 def get_min_matched_length(self, unique=False):
2085 return (self.min_matched_length_unique if unique

Callers 1

compare_token_setsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected