Documentation
¶
Index ¶
- func Clone(opts CloneOptions) error
- func GetCurrentBranch(path string) (string, error)
- func GetRemoteURL(path string) (string, error)
- func IsGitRepo(path string) bool
- func Pull(opts PullOptions) error
- func RepoNameFromPath(path string) string
- func RepoNameFromURL(url string) string
- type CloneOptions
- type PullOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
func Clone(opts CloneOptions) error
func GetCurrentBranch ¶
func GetRemoteURL ¶
func Pull ¶
func Pull(opts PullOptions) error
func RepoNameFromPath ¶
func RepoNameFromURL ¶
Types ¶
type CloneOptions ¶
type PullOptions ¶
Click to show internal directories.
Click to hide internal directories.