mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-22 00:10:39 +00:00
21 lines
384 B
Go
21 lines
384 B
Go
package git
|
|
|
|
type Repository struct {
|
|
RemoteURL string
|
|
RemoteSSH string
|
|
Branch string
|
|
CommitSha string
|
|
CommitRef string
|
|
Submodules map[string]string
|
|
SubmoduleRemote bool
|
|
SubmodulePartial bool
|
|
|
|
SafeDirectory string
|
|
WorkDir string
|
|
IsEmpty bool
|
|
Filter string
|
|
Depth int
|
|
}
|
|
|
|
const gitBin = "/usr/bin/git"
|