Documentation ¶
Index ¶
Constants ¶
View Source
const (
//PUBLIC_HOSTNAME default github hostname
PUBLIC_HOSTNAME = "github.com"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileRepository ¶
type FileRepository struct {
// contains filtered or unexported fields
}
FileRepository represents a Github FileRepository source
func NewGithubFileRepository ¶
func NewGithubFileRepository(githubHostname string, accessToken string, lastModifiedScanCutoff int, repoNameFQ string, workingDir string, fileScanner scanner.FileScanner) *FileRepository
NewGithubFileRepository returns a new GithubFileRepository structure used to scan any number of repositories on the given github host.
Click to show internal directories.
Click to hide internal directories.