Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APICommonProtos = "github.com/googleapis/api-common-protos"
View Source
var DefaultBranch = "master"
Functions ¶
Types ¶
type GitDependency ¶
type GitDependency struct { LocalPath string LocalSubPath string Revision string ImportPath string }
func (*GitDependency) Checkout ¶
func (dep *GitDependency) Checkout() error
func (*GitDependency) Dir ¶
func (dep *GitDependency) Dir() string
func (*GitDependency) InjectToPath ¶
func (dep *GitDependency) InjectToPath(path string) (err error)
type RemoteCache ¶
type RemoteCache struct {
// contains filtered or unexported fields
}
func Cache ¶
func Cache() *RemoteCache
func (*RemoteCache) GetAllRemotes ¶
func (c *RemoteCache) GetAllRemotes() (remotes []string, err error)
func (*RemoteCache) GetGitDependency ¶
func (c *RemoteCache) GetGitDependency(url, path, revision string) (gdep *GitDependency, err error)
Click to show internal directories.
Click to hide internal directories.