Documentation ¶
Index ¶
- func GetBlame(file string, linenum int) []string
- func IsInsideWorkTree(file string) bool
- func PuzzleId(marker Marker, body string) string
- func TailOf(rest []string, prefix string, offset int) ([]string, error)
- type AvailableRolesRule
- type Base
- type GitInfo
- type Marker
- type MaxDuplicatesRule
- type MaxEstimateRule
- type MinStimateRule
- type MinWordsRule
- type Puzzle
- type Rule
- type Source
- type Sources
- type TodoLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInsideWorkTree ¶
Types ¶
type AvailableRolesRule ¶
type AvailableRolesRule struct {
// contains filtered or unexported fields
}
func (AvailableRolesRule) ApplyTo ¶
func (r AvailableRolesRule) ApplyTo(puzzles []Puzzle) []string
type Base ¶
type Base struct { Dir string Exclude []string Include []string Rules []Rule SkipGitignore bool Logger *logrus.Logger }
func (Base) ApplyRules ¶
func (Base) JsonPuzzles ¶
type MaxDuplicatesRule ¶
type MaxDuplicatesRule struct {
// contains filtered or unexported fields
}
func (MaxDuplicatesRule) ApplyTo ¶
func (r MaxDuplicatesRule) ApplyTo(puzzles []Puzzle) []string
type MaxEstimateRule ¶
type MaxEstimateRule struct {
// contains filtered or unexported fields
}
func (MaxEstimateRule) ApplyTo ¶
func (r MaxEstimateRule) ApplyTo(puzzles []Puzzle) []string
type MinStimateRule ¶
type MinStimateRule struct {
// contains filtered or unexported fields
}
func (MinStimateRule) ApplyTo ¶
func (r MinStimateRule) ApplyTo(puzzles []Puzzle) []string
type MinWordsRule ¶
type MinWordsRule struct {
// contains filtered or unexported fields
}
func (MinWordsRule) ApplyTo ¶
func (r MinWordsRule) ApplyTo(puzzles []Puzzle) []string
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (Source) GetGitInfo ¶
func (Source) PathFromRoot ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.