Documentation
¶
Index ¶
- func FindLicenseFiles(dirname string, matcher Matcher) ([]string, error)
- func LocateGoModProjects(projects []GoModProject) (map[string]Dependency, error)
- func LocateNpmPackageLockV3Projects(root string, projects []Project) (map[string]Dependency, error)
- func LocateProjects(roots []string, projects []Project) (map[string]Dependency, error)
- type DepProject
- type Dependency
- type GoModProject
- type Matcher
- type NpmPackage
- type NpmProject
- type PackageLockV3
- type Project
- type YarnProject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocateGoModProjects ¶
func LocateGoModProjects(projects []GoModProject) (map[string]Dependency, error)
func LocateNpmPackageLockV3Projects ¶
func LocateNpmPackageLockV3Projects(root string, projects []Project) (map[string]Dependency, error)
func LocateProjects ¶
func LocateProjects(roots []string, projects []Project) (map[string]Dependency, error)
Types ¶
type DepProject ¶
type DepProject struct {
// contains filtered or unexported fields
}
func (DepProject) Name ¶
func (p DepProject) Name() string
func (DepProject) Optional ¶
func (p DepProject) Optional() bool
func (DepProject) Version ¶
func (p DepProject) Version() string
type Dependency ¶
type GoModProject ¶
func ProjectsFromGoModFile ¶
func ProjectsFromGoModFile(filename string) ([]GoModProject, error)
type Matcher ¶
func CompilePatternConfig ¶
func CompilePatternConfig(cfg config.PatternConfig) (Matcher, error)
type NpmPackage ¶
type NpmProject ¶
type NpmProject struct {
// contains filtered or unexported fields
}
func (NpmProject) Name ¶
func (p NpmProject) Name() string
func (NpmProject) Optional ¶
func (p NpmProject) Optional() bool
func (NpmProject) Version ¶
func (p NpmProject) Version() string
type PackageLockV3 ¶
type PackageLockV3 struct { Name string `json:"name"` Version string `json:"version"` Packages map[string]NpmPackage `json:"packages"` }
type Project ¶
func ProjectsFromDepLockfile ¶
type YarnProject ¶
type YarnProject struct {
// contains filtered or unexported fields
}
func (YarnProject) Name ¶
func (p YarnProject) Name() string
func (YarnProject) Optional ¶
func (p YarnProject) Optional() bool
func (YarnProject) Version ¶
func (p YarnProject) Version() string
Click to show internal directories.
Click to hide internal directories.