spath

package
v0.0.0-...-659f766 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir() string

系统缓存目录

func ExecDir

func ExecDir() string

执行文件所在目录

func HomeDir

func HomeDir() string

Home目录

Types

type SFileInfo

type SFileInfo struct {
	Abs string
	os.FileInfo
}

func ScanFiles

func ScanFiles(baseDir string) ([]SFileInfo, error)

扫描指定目录下的所有文件

Jump to

Keyboard shortcuts

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