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

Method load

src/licensedcode/frontmatter.py:73–77  ·  view source on GitHub ↗

Parse YAML front matter.

(self, fm, **kwargs)

Source from the content-addressed store, hash-verified

71 ).strip()
72
73 def load(self, fm, **kwargs):
74 """
75 Parse YAML front matter.
76 """
77 return saneyaml.load(fm, allow_duplicate_keys=False, **kwargs)
78
79 def export(self, metadata, **kwargs):
80 """

Callers 1

parse_frontmatterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected