mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
Supports using `**` for `-rule` and `-rule.templates`: `dir/**/*.tpl` loads contents of dir and all subdirectories recursively. See: #4041 Signed-off-by: Zakhar Bessarab <[email protected]> Co-authored-by: Artem Navoiev <[email protected]> Co-authored-by: Nikolay <[email protected]>
14 lines
337 B
Go
14 lines
337 B
Go
package doublestar
|
|
|
|
import (
|
|
"errors"
|
|
"path"
|
|
)
|
|
|
|
// ErrBadPattern indicates a pattern was malformed.
|
|
var ErrBadPattern = path.ErrBadPattern
|
|
|
|
// ErrPatternNotExist indicates that the pattern passed to Glob, GlobWalk, or
|
|
// FilepathGlob references a path that does not exist.
|
|
var ErrPatternNotExist = errors.New("pattern does not exist")
|