0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-23 16:40:41 +00:00
wp-git-clone/git/git.go

21 lines
384 B
Go
Raw Normal View History

2023-12-22 23:59:23 +00:00
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
2023-12-22 23:59:23 +00:00
}
const gitBin = "/usr/bin/git"