Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface {
CheckFile(filesystem fs.FS, path string) (*Vulnerability, error)
}
type Vulnerability ¶
type Vulnerability struct { // The path to the file (in given filesystem) Name string // The hash of the file Hash string // Where the vulnerability was mentioned Source string // Description of the vulnerability Reason string }
func (Vulnerability) String ¶
func (this Vulnerability) String() string
Click to show internal directories.
Click to hide internal directories.