Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterConfig ¶
type FilterConfig struct { OnlyIncludeNames []string `json:"repos"` Exclusions []string `json:"exclusions"` Inclusions []string `json:"inclusions"` StopAfterN int `json:"stop_after_n"` }
FilterConfig specifies the repos to use. JSON tags are used in config definitions.
type Repo ¶
type Repo struct { ID string NameWithOwner string // DefaultBranch of the repo, could be empty if no commits yet. Used for getting commit_users DefaultBranch string }
func Filter ¶
func Filter(logger hclog.Logger, repos []Repo, config FilterConfig) []Repo
func ReposAllSlice ¶
func (Repo) GetReadableID ¶
Click to show internal directories.
Click to hide internal directories.