file

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFile

func AppendFile(filename string, data []byte, perm os.FileMode) error

func CopyFile

func CopyFile(dstFileName, srcFileName string) (int64, error)

func Ext

func Ext(path string) string

func FileEqual

func FileEqual(filename1, filename2 string) error

func GetCurrentPath

func GetCurrentPath() string

func PathOrFileIsExist

func PathOrFileIsExist(pathOrFile string) (bool, error)

func RemoveExistFile

func RemoveExistFile(filename string) error

func RemoveExistFiles

func RemoveExistFiles(filenames []string) error

func RemoveFileSuffix

func RemoveFileSuffix(filename string) string

func ReplaceFileSuffix

func ReplaceFileSuffix(filename, newSuffix string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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