MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / load_yaml

Function load_yaml

vulnerabilities/utils.py:67–69  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

65
66
67def load_yaml(path):
68 with open(path) as f:
69 return saneyaml.load(f)
70
71
72def load_json(path):

Callers 7

process_fileMethod · 0.90
collect_advisoriesMethod · 0.90
advisory_dataMethod · 0.90
process_fileMethod · 0.90
yaml_file_to_advisoryFunction · 0.90
test_suse_score_importFunction · 0.90
test_advisoriesFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_suse_score_importFunction · 0.72
test_advisoriesFunction · 0.72