file_func

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(srcPath, desPath string) error

复制目录

func CopyFile

func CopyFile(src, des string) (written int64, err error)

使用io.Copy

func Exists

func Exists(path string) bool

判断所给路径文件/文件夹是否存在

func MakeDir

func MakeDir(dir 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