glob

package
v0.0.0-...-2af5034 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL