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

Method is_datafile

src/packagedcode/npm.py:870–871  ·  view source on GitHub ↗
(cls, location, filetypes=tuple())

Source from the content-addressed store, hash-verified

868
869 @classmethod
870 def is_datafile(cls, location, filetypes=tuple()):
871 return super().is_datafile(location, filetypes=filetypes) and is_yarn_v2(location)
872
873 @classmethod
874 def parse(cls, location, package_only=False):

Calls 1

is_yarn_v2Function · 0.85