Documentation ¶
Index ¶
- func BBCommitAPIURL(host, source, project, repository, commitid string) (url string)
- func BBCommitURL(host, source, project, repository, commitid string) (url string)
- func CloneGitRepos(repoURLs []string, username, password string, branch string, json bool) (tmpDir string, err error)
- func ParseGitLog(r io.Reader) (fileList []scan.File, err error)
- func ReposPerProject(projectURL, username, password string) (scanRepos []string)
- func ScanDiffs(data []byte, atEOF bool) (advance int, token []byte, err error)
- type Diff
- type DiffItem
- type List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BBCommitAPIURL ¶
BBCommitAPIURL formats multiple values into the bitbucket REST API URL
func BBCommitURL ¶
BBCommitURL formats multiple values into the bitbucket commit URL
func CloneGitRepos ¶
func CloneGitRepos(repoURLs []string, username, password string, branch string, json bool) (tmpDir string, err error)
CloneGitRepos Clones a Git repo into a random temporary folder
func ParseGitLog ¶
ParseGitLog parses the git log into the earlybird file format
func ReposPerProject ¶
ReposPerProject returns all the repositories contained within a bitbucket or github project
Types ¶
type DiffItem ¶
type DiffItem struct {
// contains filtered or unexported fields
}
DiffItem is a diff struct for an inidividual file
func (*DiffItem) GetHashKey ¶
GetHashKey returns the hash key identifier for the diff
Source Files ¶
Click to show internal directories.
Click to hide internal directories.