Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobTreeRegular ¶
func GlobTreeRegular(root string, patterns []string) (matches []string, skipped []string, err error)
GlobTreeRegular walks root looking for regular (non-dir, non-device) files that match the provided glob patterns and returns them in matches. If a pattern contains a /, it is matched against the path relative to root (ignoring leading slashes). Otherwise it is matched only against the basename. Any non-regular files that match will be returned in skipped. If there is an error, matches and skipped may be incomplete or empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.