Versions in this module Expand all Collapse all v1 v1.22.2 Apr 24, 2024 v1.21.3 Jan 6, 2024 v1.21.0 Dec 26, 2023 Changes in this version + var VCSTestHosts []string + var VCSTestIsLocalHost func(*urlpkg.URL) bool + var VCSTestRepoURL string + func CheckGOVCS(vcs *Cmd, root string) error + func CheckNested(vcs *Cmd, dir, srcRoot string) error + type Cmd struct + Cmd string + CreateCmd []string + DownloadCmd []string + Name string + PingCmd string + RemoteRepo func(v *Cmd, rootDir string) (remoteRepo string, err error) + ResolveRepo func(v *Cmd, rootDir, remoteRepo string) (realRepo string, err error) + RootNames []rootName + Scheme []string + Status func(v *Cmd, rootDir string) (Status, error) + TagCmd []tagCmd + TagLookupCmd []tagCmd + TagSyncCmd []string + TagSyncDefault []string + func FromDir(dir, srcRoot string, allowNesting bool) (repoDir string, vcsCmd *Cmd, err error) + func (v *Cmd) Create(dir, repo string) error + func (v *Cmd) Download(dir string) error + func (v *Cmd) IsSecure(repo string) bool + func (v *Cmd) Ping(scheme, repo string) error + func (v *Cmd) String() string + func (v *Cmd) TagSync(dir, tag string) error + func (v *Cmd) Tags(dir string) ([]string, error) + type ImportMismatchError struct + func (m ImportMismatchError) Error() string + type ModuleMode int + const IgnoreMod + const PreferMod + type RepoRoot struct + IsCustom bool + Repo string + Root string + VCS *Cmd + func RepoRootForImportPath(importPath string, mod ModuleMode, security web.SecurityMode) (*RepoRoot, error) + type Status struct + CommitTime time.Time + Revision string + Uncommitted bool