file

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ext

func Ext(path string) string

get filename extensions

func GetCWD

func GetCWD() string

获取当前工作目录

func GetDirName

func GetDirName(skip int) (string, error)

获取当前文件所在目录

func IsDir

func IsDir(path string) bool

判断是否为目录

func IsExist

func IsExist(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