vfspath

package
Version: v0.0.0-...-8d4bc4b Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: MIT Imports: 6 Imported by: 14

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Glob

func Glob(fs http.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.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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