Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobPath ¶
type GlobPath struct { HasSuperMeta bool // contains filtered or unexported fields }
func (*GlobPath) GetRoots ¶
GetRoots returns a list of files and directories which should be optimal prefixes of matching files when you have a super-meta in your expression : - any directory under these roots may contain a matching file - no file outside of these roots can match the pattern Note that it returns both files and directories.
func (*GlobPath) Match ¶
Match returns all files matching the expression If it's a static path, returns path
func (*GlobPath) MatchString ¶
MatchString test a string against the glob
Click to show internal directories.
Click to hide internal directories.