mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
![Zakhar Bessarab](/assets/img/avatar_default.png)
Supports using `**` for `-rule` and `-rule.templates`: `dir/**/*.tpl` loads contents of dir and all subdirectories recursively. See: #4041 Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> Co-authored-by: Artem Navoiev <tenmozes@gmail.com> Co-authored-by: Nikolay <nik@victoriametrics.com>
13 lines
337 B
Go
13 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")
|