fs

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNormalizedIsADirectory = syscall.EISDIR

Functions

This section is empty.

Types

type FileInfo added in v0.8.0

type FileInfo struct {
	IsDir bool
}

type FileSystem

type FileSystem interface {
	Stat(ctx context.Context, path string) (*FileInfo, error)
	Get(ctx context.Context, path string) ([]byte, error)
	ReadDir(ctx context.Context, path string) ([]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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