Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Organization string `yaml:"organization"`
IncludePublic *bool `yaml:"include_public"`
IncludePrivate *bool `yaml:"include_private"`
IncludeArchived *bool `yaml:"include_archived"`
ExcludeRepos []string `yaml:"exclude_repos"`
// contains filtered or unexported fields
}
Config represents the application configuration loaded from a YAML file.
func (*Config) IsExcluded ¶
IsExcluded checks whether the given repository name matches any pattern in ExcludeRepos.
func (*Config) ShouldIncludeArchived ¶ added in v0.1.2
ShouldIncludeArchived returns true if archived repositories should be included. Defaults to false when not explicitly set.
func (*Config) ShouldIncludePrivate ¶
ShouldIncludePrivate returns true if private repositories should be included. Defaults to true when not explicitly set.
func (*Config) ShouldIncludePublic ¶
ShouldIncludePublic returns true if public repositories should be included. Defaults to true when not explicitly set.
Click to show internal directories.
Click to hide internal directories.