0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-15 05:40:40 +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"