Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpConfig ¶
func GoGitStatus ¶
GoGitStatus uses go-git package to determine the git status for a directory
Types ¶
type Config ¶
type Config struct { ScanDirs struct { Include []string `yaml:"include"` Exclude []string `yaml:"exclude"` } `yaml:"scandirs"` GitIgnore struct { FileGlob []string `yaml:"fileglob"` DirGlob []string `yaml:"dirglob"` } `yaml:"gitignore"` FollowSymlinks bool `yaml:"followsymlinks"` }
func ParseConfigFile ¶
type Excluder ¶
type Excluder struct {
// contains filtered or unexported fields
}
func NewExcluder ¶
func (Excluder) FilterGitStatus ¶
func (e Excluder) FilterGitStatus(st git.Status) git.Status
func (Excluder) IsExcluded ¶
type MultiGitStatus ¶
type MultiGitStatus map[string]RepoStatus
func Scan ¶
func Scan(config *Config) (MultiGitStatus, error)
Scan finds all "dirty" git repositories specified by config
type RepoStatus ¶
Click to show internal directories.
Click to hide internal directories.