{"modulePath":"github.com/6prod/pullrun","version":"v0.0.0-20210610211520-e07cd0921208","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package git\n\n## Functions\n\n```go\nfunc Clone(addr string, dst string, ref string, auth Auth) error\n```\nssh clone: user@host https clonse: [https://user:password@host](https://user:password@host)\n\n## Types\n\n```go\ntype Auth interface {\n\tAuth(cmd *GitCloneCmd) error\n\t// Close ends the authentication\n\tClose() error\n}\n```\n\n```go\ntype AuthHTTP struct {\n\tUser, Password string\n}\n```\n\n```go\nfunc (a *AuthHTTP) Auth(cmd *GitCloneCmd) error\n```\n\n```go\nfunc (a *AuthHTTP) Close() error\n```\n\n```go\ntype AuthNone struct{}\n```\n\n```go\nfunc (a *AuthNone) Auth(cmd *GitCloneCmd) error\n```\n\n```go\nfunc (a *AuthNone) Close() error\n```\n\n```go\ntype GitCloneCmd struct {\n\tAddress     string\n\tDestination string\n\tEnv         []string\n\tArgs        []string\n}\n```\n\n```go\nfunc (c GitCloneCmd) Cmd() *exec.Cmd\n```\n\n","path":"github.com/6prod/pullrun/pkg/lib/vcs/git","name":"git","synopsis":"","isRedistributable":true}
