package
1.0.9
Repository: https://github.com/blend/govendor.git
Documentation: pkg.go.dev

# Functions

FindLabel matches a single label from a list of labels, given a version.
No description provided by the author
LicenseDiscover looks for license files in a given path.
NewContext creates new context from a given root folder and vendor file path.
NewContextRoot creates a new context for the given root folder.
NewContextWD creates a new context.
No description provided by the author
RemovePackage removes the specified folder files.
ResolveAutoLongestPath finds the longest local path in each conflict and set it to be used.
ResolveAutoShortestPath finds the shortest local path in each conflict and set it to be used.

# Constants

Only add, error if it already exists.
Add or update the import.
Get directly from remote repository.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LocationExternal package is not in a project, in GOPATH.
LocationLocal package is in a project, not in a vendor folder.
LocationNotFound package is not to be found (use PresenceMissing).
LocationStandard package is in the standard library.
LocationUnknown is unset StatusLocation.
LocationVendor package is in a vendor folder.
No description provided by the author
No description provided by the author
Operation has been completed.
No description provided by the author
Operation should be ignored.
Operation is ready to go.
No description provided by the author
PresenceExcluded package exists, but should not be vendored.
PresenceFound package exists.
PresenceMissing package is referenced but not found.
PresenceTree package is in vendor folder, in a tree, but not referenced.
PresenceUnknown is unset StatusPresence.
PresenceUnused package is found locally but not referenced.
Remove from vendor path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TypePackage package is a non-main package.
TypeProgram package is a main package.
TypeUnknown is unset StatusType.
No description provided by the author
Only update, error if it doesn't currently exist.

# Variables

ErrMissingGOPATH returns if no GOPATH was found.
ErrMissingGOROOT returns if the GOROOT was not found.

# Structs

Conflict reports packages that are scheduled to conflict.
Context represents the current project context.
ErrDirtyPackage returns if package is in dirty version control.
ErrMissingVendorFile returns if package already exists.
ErrNotInGOPATH returns if not currently in the GOPATH.
ErrOldVersion returns if vendor file is not in the vendor folder.
ErrPackageExists returns if package already exists.
No description provided by the author
No description provided by the author
File holds a reference to the imports in a file and the file locaiton.
No description provided by the author
No description provided by the author
Operation defines how packages should be moved.
Package maintains information pertaining to a package.
No description provided by the author
No description provided by the author
ListItem represents a package in the current project.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Modify is the type of modifcation to do.
No description provided by the author
OperationState is the state of the given package move operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author