Documentation ¶
Index ¶
- func ExpandEnv(pattern string) string
- func GetFileAttributes(status os.FileInfo) uint32
- func Glob(pattern string) ([]string, error)
- func Globs(patterns []string) []string
- func Walk(pattern string, callback func(*_FileInfo) bool) error
- func WalkContext(ctx context.Context, pattern string, callback func(*_FileInfo) bool) error
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandEnv ¶
ExpandEnv replace ~/ and ~\ to %HOME% or %USERPROFILE%, and %ENVIRONMENTVARIABLE% to its' value.
func GetFileAttributes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.