file_func

package
v1.30.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(srcPath, desPath string) error

copy dir

func CopyFile

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

use io.Copy copy file

func Exists

func Exists(path string) bool

judge file/dir exists

func MakeDir

func MakeDir(dir string) error

create dir

func ProjectPath added in v1.20.7

func ProjectPath() (path string)

get project path

Types

This section is empty.

Jump to

Keyboard shortcuts

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