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

Class AffectedPackage

vulnerabilities/utils.py:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61@dataclasses.dataclass(order=True, frozen=True)
62class AffectedPackage:
63 vulnerable_package: PackageURL
64 patched_package: Optional[PackageURL] = None
65
66
67def load_yaml(path):

Callers 3

test_load_advisoryMethod · 0.90
nearest_patched_packageFunction · 0.70

Calls

no outgoing calls

Tested by 2

test_load_advisoryMethod · 0.72