ioutils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dest string) error

文件复制

func CreateDir

func CreateDir(p string) error

创建目录

func CreateDirRecursive

func CreateDirRecursive(p string)

递归创建目录 不会产生异常

func DeleteDir

func DeleteDir(p string) error

删除目录

func ListDir

func ListDir(p string) ([]fs.FileInfo, error)

列出目录

func ParentDirectory

func ParentDirectory(p string) string

获取父级目录

func PathIsExist

func PathIsExist(p string) bool

路径不存在

Types

This section is empty.

Jump to

Keyboard shortcuts

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