Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path interface { Join(elem ...string) string IsAbs(path string) bool IsRoot(path string) bool Contains(basePath, targetPath string) bool }
Path is used for manipulation/checks of a path depending on the OS. Each supported OS needs to have its own implementation.
func NewUnixPath ¶
func NewUnixPath() Path
Click to show internal directories.
Click to hide internal directories.