Documentation
¶
Index ¶
- func EvalSymlinks(path string) (string, error)
- func ExpandDir(path string) (string, error)
- func FilterFileByExtensions(exts ...string) func(_, path string) bool
- func FilterFileByNames(names ...string) func(_, path string) bool
- func GetFiles(rootPath string, skipSymlink bool, filters ...filterFn) []string
- func Getwd() (string, error)
- func IsDir(path string) bool
- func IsFile(path string) bool
- func Rel(basepath, targpath string) string
- func SplitManifests(data string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalSymlinks ¶
EvalSymlinks returns the path name after the evaluation of any symbolic links.
func ExpandDir ¶ added in v0.1.8
ExpandDir expands a path that starts with ~ to the user's home directory and returns the absolute path.
func FilterFileByExtensions ¶ added in v0.1.8
func FilterFileByNames ¶ added in v0.1.19
func SplitManifests ¶ added in v0.1.19
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.