Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericComparer ¶
type GenericComparer struct{}
GenericComparer represents a comparer for semver-like versioning
func (GenericComparer) IsVulnerable ¶
func (v GenericComparer) IsVulnerable(ver string, advisory dbTypes.Advisory) bool
IsVulnerable checks if the package version is vulnerable to the advisory.
Click to show internal directories.
Click to hide internal directories.