gos

package
v1.30.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 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, dstPath string) error

CopyDir

func CopyFile

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

CopyFile use io.Copy copy file

func Exists

func Exists(path string) bool

Exists file/dir exit

func IsDir

func IsDir(path string) bool

IsDir is dir

func IsFile

func IsFile(path string) bool

IsFile is file

func Mkdir

func Mkdir(dir string) error

Mkdir create dir if not exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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