mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-28 18:40:35 +00:00
19 lines
365 B
Go
19 lines
365 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
|
|
|
|
InsecureSkipSSLVerify bool
|
|
SafeDirectory string
|
|
InitExists bool
|
|
}
|