Documentation
¶
Index ¶
- func Add(dir string, path string) error
- func Branch(dir string, branch string) error
- func CheckoutBranch(dir string, branch string, gitConfig manifest.GitConfig) error
- func Clone(gitConfig manifest.GitConfig) (string, error)
- func CloneInto(gitConfig manifest.GitConfig, dir string) error
- func Commit(dir string, message string, author manifest.Author) error
- func GetRemoteFile(gitConfig manifest.GitConfig, branch, path string) ([]byte, error)
- func IsClean(dir string) (bool, error)
- func Push(dir string, gitConfig manifest.GitConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckoutBranch ¶
func Clone ¶
Clone clones a git repository into a temporary directory and returns the directory path
func GetRemoteFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.