vfs

package
v0.0.0-...-b061287 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct {
	afero.Fs
}

Type FileSystem represents a FileSystem offering a standard set of functions to interact with

func New

func New(rawURL string) (*FileSystem, string, error)

New returns a new FileSystem whose type corresponds to the given rawURL as well as the path within this FileSystem pointed by the url

func (*FileSystem) Readdir

func (fs *FileSystem) Readdir(dirname string) ([]os.FileInfo, error)

Readdir list the content of a directory

Jump to

Keyboard shortcuts

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