github.com/AndrewDeryabin/doublestar/v4@v4.0.0-20230123132908-d9476b7d41be/doublestar.go (about)

     1  package doublestar
     2  
     3  import (
     4  	"errors"
     5  	"path"
     6  )
     7  
     8  // ErrBadPattern indicates a pattern was malformed.
     9  var ErrBadPattern = path.ErrBadPattern
    10  
    11  // ErrPatternNotExist indicates that the pattern passed to Glob, GlobWalk, or
    12  // FilepathGlob references a path that does not exist.
    13  var ErrPatternNotExist = errors.New("pattern does not exist")