go: github.com/shurcooL/go/vfs/godocfs/path/vfspath Index | Files

package vfspath

import "github.com/shurcooL/go/vfs/godocfs/path/vfspath"

Package vfspath implements utility routines for manipulating virtual file system paths.

Index

Package Files

match.go

func Glob Uses

func Glob(fs vfs.FileSystem, pattern string) (matches []string, err error)

Glob returns the names of all files matching pattern or nil if there is no matching file. The syntax of patterns is the same as in path.Match. The pattern may describe hierarchical names such as /usr/*/bin/ed.

Glob ignores file system errors such as I/O errors reading directories. The only possible returned error is ErrBadPattern, when pattern is malformed.

Package vfspath imports 5 packages (graph) and is imported by 1 packages. Updated 2016-07-31. Refresh now. Tools for package owners.