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

Method parse

src/packagedcode/conan.py:169–173  ·  view source on GitHub ↗
(cls, location, package_only=False)

Source from the content-addressed store, hash-verified

167
168 @classmethod
169 def parse(cls, location, package_only=False):
170 with io.open(location, encoding="utf-8") as loc:
171 conan_recipe = loc.read()
172
173 yield cls._parse(conan_recipe, package_only)
174
175
176class ConanDataHandler(models.DatafileHandler):

Callers 1

_parseMethod · 0.45

Calls 3

openMethod · 0.45
readMethod · 0.45
_parseMethod · 0.45

Tested by

no test coverage detected