Discover Packages
github.com/kujenga/fossa-cli
buildtools
dep
package
Version:
v0.7.0-alpha.8
Opens a new window with list of versions in this module.
Published: Jun 27, 2018
License: MPL-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package dep provides functions for working with the dep tool.
ErrNoLockfile is returned if a dep manifest is found without an accompanying lockfile.
UsedIn checks whether dep is used correctly within a project folder.
type Lockfile struct {
Projects []Project
}
A Lockfile contains the contents of a dep lockfile. Lockfiles are resolvers.
FromFile reads a raw Lockfile from a Gopkg.lock file.
New constructs a golang.Resolver
Resolve returns the revision of an imported Go package contained within the
lockfile. If the package is not found, errutil.ErrNoRevisionForPackage is
returned.
A Project is a single imported repository within a dep project.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.