fs

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDir added in v0.2.1

func CheckDir(dir string)

检测目录,并删除

func Copy

func Copy(dstFile, srcFile string) (bool, error)

文件复制 基于读写

Types

type FsReaderWriter

type FsReaderWriter struct {
	// contains filtered or unexported fields
}

func (*FsReaderWriter) Error

func (f *FsReaderWriter) Error() string

func (*FsReaderWriter) Read

func (f *FsReaderWriter) Read(p []byte) (n int, err error)

func (*FsReaderWriter) Write

func (f *FsReaderWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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