mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-24 13:00:42 +00:00
19 lines
353 B
Go
19 lines
353 B
Go
|
package git
|
||
|
|
||
|
const gitBin = "/usr/bin/git"
|
||
|
|
||
|
type Repository struct {
|
||
|
RemoteURL string
|
||
|
RemoteSSH string
|
||
|
Branch string
|
||
|
CommitSha string
|
||
|
CommitRef string
|
||
|
Submodules map[string]string
|
||
|
SubmoduleRemote bool
|
||
|
SubmodulePartial bool
|
||
|
|
||
|
InsecureSSLVerify bool
|
||
|
SafeDirectory string
|
||
|
InitExists bool
|
||
|
}
|