files

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDir

func IsDir(dirpath string) bool

IsDir 判断所给路径是否为文件夹

func IsExists

func IsExists(path string) bool

IsExists 文件/目录是否存在

func IsFile

func IsFile(path string) bool

IsFile 判断所给路径是否为文件

func ReadFile

func ReadFile(path string) (string, error)

func WalkRemoveFiles

func WalkRemoveFiles(path string, filetype string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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