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

Method license_file

src/licensedcode/models.py:410–411  ·  view source on GitHub ↗
(self, licenses_data_dir=licenses_data_dir)

Source from the content-addressed store, hash-verified

408 return SPDX_LICENSE_URL.format(spdx_license_key)
409
410 def license_file(self, licenses_data_dir=licenses_data_dir):
411 return join(licenses_data_dir, f'{self.key}.LICENSE')
412
413 def update(self, mapping):
414 for k, v in mapping.items():

Callers 3

dumpMethod · 0.95
from_dirMethod · 0.80

Calls

no outgoing calls