Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RepoExtractor ¶
type RepoExtractor struct { RepoPath string OutputPath string GitPath string Headless bool Obfuscate bool UserEmails []string Seed []string // contains filtered or unexported fields }
RepoExtractor is responsible for all parts of repo extraction process Including cloning the repo, processing the commits and uploading the results
func (*RepoExtractor) Extract ¶
func (r *RepoExtractor) Extract() error
Extract a single repo in the path
func (*RepoExtractor) GetRepoName ¶
func (r *RepoExtractor) GetRepoName(remoteOrigin string) string
GetRepoName gets the repo name in the following format: in case of headless: "owner_name/repo_name" in case of interactive mode: "repo_name"
Click to show internal directories.
Click to hide internal directories.