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

Function get_licenses_db

src/licensedcode/cache.py:476–480  ·  view source on GitHub ↗

Return a mapping of license key -> license object.

()

Source from the content-addressed store, hash-verified

474
475
476def get_licenses_db():
477 """
478 Return a mapping of license key -> license object.
479 """
480 return get_cache().db
481
482
483def get_licensing():

Callers 7

get_license_symbolsFunction · 0.90
generate_outputFunction · 0.90
validateMethod · 0.90

Calls 1

get_cacheFunction · 0.70

Tested by

no test coverage detected