Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAction = errors.New("invalid action")
View Source
var ErrMalformedDepthPath = errors.New("malformed depth path")
View Source
var ErrMalformedPattern = errors.New("malformed pattern")
View Source
var ErrTooDeep = errors.New("too many subdirs in depth path")
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
`rulespatterns.Finder` applies a list of patterns to identify repo candidates. Create with `NewFinder()`. Example `Patterns`:
superrepo . superrepo foo repo foo/overview enter foo/data repo foo/data/* ignore foo/* ignore *
`EnabledPaths` is a list of `<depth> <path>` pairs that are prepended before the patterns as follows:
0 foo -> "superrepo foo" 1 foo -> "superrepo foo", "superrepo foo/*" 2 foo -> "superrepo foo", "superrepo foo/*", "superrepo foo/*/*"
Click to show internal directories.
Click to hide internal directories.