system

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileExists    = errors.New("file already exists")
	ErrDirExists     = errors.New("directory already exists")
	ErrFileNotExists = errors.New("file is not exists")
)

Functions

func Copy

func Copy(src, target string) error

func NewDir

func NewDir(dir string) error

func NewFile

func NewFile(file string) error

func Open

func Open(name string) error

func RemoveDirAll

func RemoveDirAll(dir string) error

func RemoveFile

func RemoveFile(file string) error

func Rename

func Rename(oldpath, newpath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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