fileex

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(src string, dst string) error

CopyDir 拷贝目录 copy directory from src to dst

func CopyFile

func CopyFile(src, dst string) error

CopyFile 拷贝文件 copy file

func CreateFileIfNecessary

func CreateFileIfNecessary(path string) bool

func Exist

func Exist(path string) bool

Exist 校验目录或文件是否存在 check directory or file exists.

func GetExePath

func GetExePath() (exePath string, err error)

func GetFileDir

func GetFileDir(filePath string) string

func MkdirIfNecessary

func MkdirIfNecessary(path string) error

func WritePid

func WritePid(path string) (err error)

func WritePidById

func WritePidById(id string, path string) error

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