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

Function get_unknown_purl

src/summarycode/todo.py:239–241  ·  view source on GitHub ↗
(package_type)

Source from the content-addressed store, hash-verified

237
238
239def get_unknown_purl(package_type):
240 purl = PackageURL(type=package_type, name="unknown")
241 return purl.to_string()
242
243
244@attr.s

Callers 1

from_packageMethod · 0.85

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected