fileutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile added in v1.1.0

func CopyFile(src, dst string) error

CopyFile 复制文件

func Exist

func Exist(name string) bool

func FixPath

func FixPath(path string) string

func GetFilePath

func GetFilePath(file string) string

GetFilePath 获取文件路径

func HomeDir

func HomeDir() string

func ListDir

func ListDir(path string) ([]*model.FileInfo, error)

func Mkdir

func Mkdir(path string, mode os.FileMode) bool

func ReplaceHomeDir

func ReplaceHomeDir(path string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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