Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + 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 []string + 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