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

Method parse

src/packagedcode/alpine.py:140–149  ·  view source on GitHub ↗
(cls, location, package_only=False)

Source from the content-addressed store, hash-verified

138
139 @classmethod
140 def parse(cls, location, package_only=False):
141 package_data = parse_apkbuild(
142 location=location,
143 strict=True,
144 package_only=package_only
145 )
146 if not package_only:
147 cls.populate_license_fields(package_data)
148 if package_data:
149 yield package_data
150
151 @staticmethod
152 def get_license_detections_and_expression(package):

Callers 1

Calls 2

parse_apkbuildFunction · 0.85

Tested by

no test coverage detected