Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)
62
class
AffectedPackage:
63
vulnerable_package: PackageURL
64
patched_package: Optional[PackageURL] = None
65
66
67
def
load_yaml(path):
Callers
3
test_nearest_patched_package
Function · 0.90
test_load_advisory
Method · 0.90
nearest_patched_package
Function · 0.70
Calls
no outgoing calls
Tested by
2
test_nearest_patched_package
Function · 0.72
test_load_advisory
Method · 0.72