Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagConfig = "config" FlagRepo = "repo" )
View Source
const ( SortAscending = "asc" SortDescending = "desc" HashDisabled = -1 )
Variables ¶
View Source
var ( ErrNotAGitRepository = errors.New("not a git repository (or any of the parent directories)") ErrNotADirectory = errors.New("not a directory") )
Functions ¶
func RegisterFlags ¶
Types ¶
type Config ¶
type Config struct {
Tag Tag `yaml:"tag"`
Sort string `yaml:"sort"`
Abbrev int `yaml:"abbrev"`
Groups []*Group `yaml:"groups"`
Divider string `yaml:"divider"`
Filters Filters `yaml:"filters"`
}
func NewDefault ¶
func NewDefault() *Config
type Filters ¶
Click to show internal directories.
Click to hide internal directories.