Documentation
¶
Index ¶
- Variables
- func CloneRepository(gitUrl string, branch string, username string, password string, ...) (commitHash string, commitMessage string, err error)
- func FetchBranches(gitUrl string, username string, password string, privateKey string) ([]string, error)
- func FetchLatestCommitHash(gitUrl string, branch string, username string, password string, ...) (string, error)
- type GitRepoInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var UnknownParseError = errors.New("unknown parse error")
Functions ¶
func CloneRepository ¶
func FetchBranches ¶
Types ¶
type GitRepoInfo ¶
type GitRepoInfo struct { IsParsed bool Provider string Owner string Name string Endpoint string SshUser string IsSshEndpoint bool }
func ParseGitRepoInfo ¶
func ParseGitRepoInfo(gitUrl string) (*GitRepoInfo, error)
func (*GitRepoInfo) URL ¶
func (gitRepoInfo *GitRepoInfo) URL() string
Click to show internal directories.
Click to hide internal directories.