fs

package
v0.83.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: AGPL-3.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