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

Method parse

src/packagedcode/maven.py:214–224  ·  view source on GitHub ↗
(cls, location, package_only=False, base_url='https://repo1.maven.org/maven2')

Source from the content-addressed store, hash-verified

212
213 @classmethod
214 def parse(cls, location, package_only=False, base_url='https://repo1.maven.org/maven2'):
215 package_data = parse(
216 location=location,
217 datasource_id=cls.datasource_id,
218 package_type=cls.default_package_type,
219 primary_language=cls.default_primary_language,
220 base_url=base_url,
221 package_only=package_only,
222 )
223 if package_data:
224 yield package_data
225
226 @classmethod
227 def get_top_level_resources(cls, manifest_resource, codebase):

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected