fs

package
v0.73.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 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)
	Join(elem ...string) string
}

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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