Versions in this module Expand all Collapse all v0 v0.3.0 Dec 21, 2021 v0.2.2 Dec 21, 2021 v0.2.1 Dec 21, 2021 v0.2.0 Dec 21, 2021 Changes in this version + var ShowCmd bool + var Verbose bool + type Cmd struct + Cmd string + CreateCmd string + DownloadCmd string + LogCmd string + Name string + PingCmd string + Scheme []string + TagCmd []TagCmd + TagLookupCmd []TagCmd + TagSyncCmd string + TagSyncDefault string + func ByCmd(cmd string) *Cmd + func FromDir(dir, srcRoot string) (vcs *Cmd, root string, err error) + func (v *Cmd) Create(dir, repo string) error + func (v *Cmd) CreateAtRev(dir, repo, rev string) error + func (v *Cmd) Download(dir string) error + func (v *Cmd) Log(dir, logTemplate string) ([]byte, error) + func (v *Cmd) LogAtRev(dir, rev, logTemplate string) ([]byte, error) + 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 RepoRoot struct + Repo string + Root string + VCS *Cmd + func RepoRootForImportDynamic(importPath string, verbose bool) (*RepoRoot, error) + func RepoRootForImportPath(importPath string, verbose bool) (*RepoRoot, error) + func RepoRootForImportPathStatic(importPath, scheme string) (*RepoRoot, error) + type TagCmd struct + Cmd string + Pattern string