Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver resolves a glob path to files. The functionality is the same then filepath.Glob() with the addition that '**' is supported to match files directories recursively.
func NewResolver ¶
NewResolver returns a resolver that resolves glob relative to path
func (*Resolver) Resolve ¶
Resolve returns absolute paths to files that specify the glob path glob does the same then filepath.Glob() with 2 Exceptions: - it also supports '**' to match files and directories recursively - it and only returns paths to files, no directory paths If a Glob doesn't match any files an empty []string is returned and error is nil
Click to show internal directories.
Click to hide internal directories.