Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct{}
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 (*Resolver) Resolve ¶
Resolve resolves the globPath to absolute file paths. Files are resolved in the same way then filepath.Glob() does, with 2 Exceptions: - it also supports '**' to match files and directories recursively, - it only returns paths to files, no directory paths, If a globPath doesn't match any files an empty []string is returned and error is nil
Click to show internal directories.
Click to hide internal directories.