fileio

package
v0.0.0-...-ffd186f Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllMkdirer

type AllMkdirer interface {
	MkdirAll(dir string, perm os.FileMode) error
}

type AllRemover

type AllRemover interface {
	RemoveAll(path string) error
}

type DirReader

type DirReader interface {
	ReadDir(dirname string) ([]os.FileInfo, error)
}

type FileReader

type FileReader interface {
	ReadFile(filename string) ([]byte, error)
}

type FileWriter

type FileWriter interface {
	WriteFile(filename string, data []byte, perm os.FileMode) error
}

type Remover

type Remover interface {
	Remove(name string) error
}

type Renamer

type Renamer interface {
	Rename(oldpath, newpath string) error
}

type Stater

type Stater interface {
	Stat(name string) (os.FileInfo, error)
}

type TempDirer

type TempDirer interface {
	TempDir(dir, prefix string) (name string, err error)
}

type TempFiler

type TempFiler interface {
	TempFile(dir, prefix string) (f afero.File, err error)
}

Jump to

Keyboard shortcuts

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