Affected by GO-2023-2134
and 2 other vulnerabilities
GO-2023-2134: Artifact Hub allows unsafe rego built-in in github.com/artifacthub/hub
GO-2023-2135: Artifact Hub has Incorrect Docker Hub registry check in github.com/artifacthub/hub
GO-2023-2136: Artifact Hub arbitrary file read vulnerability in github.com/artifacthub/hub
package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: May 31, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Detect detects the license used in the file provided.
type Filer struct {
Data []byte
}
Filer is an implementation the licensedb.Filer interface that returns a
single file data previously provided.
Close implements the licensedb.Filer interface.
PathsAreAlwaysSlash implements the licensedb.Filer interface.
ReadDir implements the licensedb.Filer interface.
ReadFile implements the licensedb.Filer interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.