Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonPrefix ¶
func CommonPrefix(paths []string) (string, error)
Find a common prefix amongst paths
func EnsureAbs ¶
func EnsureAbs(path string) (string, error)
EnsureAbs ensures path is absolute, if not already.
func EnsureAllAbs ¶
func EnsureAllAbs(paths []string) (updated []string, err error)
EnsureAllAbs ensures all paths are absolute paths
func RelToWorkingDir ¶
func RelToWorkingDir(paths []string) (updated []string, err error)
RelToWorkingDir turns all absolute paths into relative paths relative to the current working directory.
func RemoveNestedPaths ¶
func RemoveNestedPaths(paths []string) (unnested []string)
Remove paths which are nested within another path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.