gofiles

package module
v0.0.0-...-05c9766 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(path string) error

CreateDir 创建目录

func CreateFile

func CreateFile(fileName string) (bool, error)

CreateFile 创建文件

func CreateFiles

func CreateFiles(path string, perm int) (bool, error)

CreateFiles 创建文件夹

func DeleteFile

func DeleteFile(pathName string) (bool, error)

DeleteFile 删除文件

func DeletesFiles

func DeletesFiles(path string) (bool, error)

DeletesFiles 删除文件夹

func DirExist

func DirExist(path string) (bool, error)

DirExist 判断目录是否存在,存在返回 true

func ExistFile

func ExistFile(pathName string) (bool, error)

ExistFile 判断文件是否存在

func ExistFiles

func ExistFiles(path string) (bool, error)

ExistFiles 判断文件夹是否存在

Types

This section is empty.

Jump to

Keyboard shortcuts

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