Documentation
¶
Overview ¶
Package filepath implements Go's filepath package with explicit operating systems (and for some functions and explicit working directory). This allows tools built for one OS to operate on paths targeting another OS. For example, a Linux build can determine whether a path is absolute on Linux or on Windows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abs ¶
Abs is a version of path/filepath's Abs with an explicit operating system and current working directory.
func IsAncestor ¶
IsAncestor returns true when pathB is an strict ancestor of pathA, and false where the paths are equal or pathB is outside of pathA. Paths that are not absolute will be made absolute with Abs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.