fs

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Stat(name string) (os.FileInfo, error)
	Rename(oldPath, newPath string) error
	MkdirAll(path string) error
	MkTmpdir() (string, error)
	CopyFile(src, dst string) (int64, error)
	CopyDir(srcPath, dstPath string) error
	RemoveAll(path ...string) error
	GetFilesSize(paths []string) (int64, error)
}

func NewFilesystem

func NewFilesystem() Interface

Jump to

Keyboard shortcuts

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