types

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EBUSY  = syscall.EBUSY
	EINVAL = syscall.EINVAL
)

Variables

This section is empty.

Functions

func ErrInvalid

func ErrInvalid(pathname string) error

EINVAL

Types

type Directory

type Directory interface {
	fs.FileInfo
	fs.DirEntry

	Path() string

	Chdir(string) (Directory, error)
}

type FileError

type FileError struct {
	Name  string
	Errno syscall.Errno
}

func (FileError) Error

func (err FileError) Error() string

func (FileError) Unwrap

func (err FileError) Unwrap() error

type Filesystem

type Filesystem interface {
	Root() string
	Protocol() string

	ModTime() time.Time

	Chdir(string) (Directory, error)
	MkdirAll(string) (Directory, error)

	Close() error
}

Jump to

Keyboard shortcuts

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