package
0.0.0-20231024134211-210767f15cd2
Repository: https://github.com/khulnasoft-lab/go-vulndb.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Equivalent returns an error if the v1 database in path does not represent the same data as the legacy database in legacyPath, or if either database is internally inconsistent according to its schema.
Generate creates and writes a new Go vulnerability database to outDir based on the contents of the "data/osv" folder inside repo.
Load reads the contents of dbPath into a Database, and errors if: - Any files are malformed (cannot be unmarshaled) - The database has missing files (based on the module and ID indexes) - The database has unexpected files not listed in the indexes - The database is internally inconsistent.
New creates a new Database based on the contents of the "data/osv" folder in the given repo.
Validate checks that the databases in newPath and oldPath are both valid databases, and that the database in newPath can be safely deployed on top of the database in oldPath.

# Structs

Database is an in-memory representation of a Go vulnerability database, following the legacy specification at https://go.dev/security/vuln/database#api.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author