Documentation
¶
Index ¶
- Variables
- func CheckAbsolutePath(path string) (err error)
- func CheckRelativePath(path string) (err error)
- func FilterPaths(pathList []string, pathFilterOptions parameteroptions.PathFilterOptions) (filtered []string, err error)
- func GetAbsolutePath(path string) (absolutePath string, err error)
- func GetDirPath(inputPath string) (dirPath string, err error)
- func GetRelativePathTo(absolutePath string, relativeTo string) (relativePath string, err error)
- func GetRelativePathsTo(absolutePaths []string, relativeTo string) (relativePaths []string, err error)
- func IsAbsolutePath(path string) (isAbsolute bool)
- func IsRelativePath(path string) (isRelative bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPathHasNoParentDirectory = errors.New("path has no parent directory")
Functions ¶
func CheckAbsolutePath ¶
func CheckRelativePath ¶
func FilterPaths ¶
func FilterPaths(pathList []string, pathFilterOptions parameteroptions.PathFilterOptions) (filtered []string, err error)
Filter the given path list.
func GetAbsolutePath ¶
func GetDirPath ¶
func GetRelativePathTo ¶
func GetRelativePathsTo ¶
func IsAbsolutePath ¶
Returns true if path is an absolute path. An empty string as path will always be false.
func IsRelativePath ¶
Returns true if path is a relative path. An empty string as path will always be false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.