Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeGlobal = lockfile.ScopeGlobal TypeRepo = lockfile.ScopeRepo TypePath = lockfile.ScopePath )
Re-export scope type constants from lockfile for convenience
Variables ¶
This section is empty.
Functions ¶
func GetInstallLocations ¶
func GetInstallLocations(asset *lockfile.Asset, currentScope *Scope, repoRoot, globalBase string) []string
GetInstallLocations returns all installation base directories for an asset in the current context An asset can have multiple installation locations if it has multiple repository entries
func MatchRepoURLs ¶
MatchRepoURLs checks if two repository URLs refer to the same repository
func NormalizeRepoURL ¶
NormalizeRepoURL normalizes a repository URL for comparison
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher matches assets based on scope
func NewMatcher ¶
NewMatcher creates a new scope matcher
Click to show internal directories.
Click to hide internal directories.