tools

package
v0.0.0-...-8b49031 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPath

func BuildPath(basePath string, path ...string) string

func CreateDirIsNotExist

func CreateDirIsNotExist(dir string) bool

CreateDirIsNotExist 目录不存在就创建一个

func DelDir

func DelDir(dirPath string) error

func DelFile

func DelFile(filePath string) error

func DirectoryExists

func DirectoryExists(path string) (bool, error)

DirectoryExists 检查目录是否存在

func FileIsExist

func FileIsExist(filePath string) (bool, error)

FileIsExist 目录是否存在

func RemoveDirectory

func RemoveDirectory(path string) error

RemoveDirectory 删除目录及其所有内容

Types

This section is empty.

Jump to

Keyboard shortcuts

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