file

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDir

func BuildDir(abs_dir string) error

*

创建目录
@author Bill

func DeleteFile

func DeleteFile(abs_dir string) error

*

删除文件或文件夹

func GetCurrentDirectory

func GetCurrentDirectory() string

获取程序运行路径

func GetPathDirs

func GetPathDirs(abs_dir string) (re []string)

*

获取目录所有文件夹

func GetPathFiles

func GetPathFiles(abs_dir string) (re []string)

*

获取目录所有文件

func PathExists

func PathExists(path 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