dependency

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Name                    string `json:"name"`
	Dir                     string `json:"-"`
	LicenceFile             string `json:"-"`
	LicenceType             string `json:"licenceType"`
	URL                     string `json:"url"`
	Version                 string `json:"version"`
	VersionTime             string `json:"versionTime"`
	LicenceTextOverrideFile string `json:"licenceTextOverrideFile"`
}

Info holds information about a dependency.

type List

type List struct {
	Direct   []Info
	Indirect []Info
}

List holds direct and indirect dependency information.

type Overrides

type Overrides map[string]Info

Overrides is a mapping from module name to dependency info.

func LoadOverrides

func LoadOverrides(file string) (Overrides, error)

LoadOverrides loads the dependency overrides from the given file. LicenceTextOverrideFile will be read relative to the parent directory of the file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL