Versions in this module Expand all Collapse all v0 v0.0.47 Oct 31, 2023 Changes in this version + func AppCacheDirOrDefault(defaultCacheDir string, toolName string) string + func PrintStdDirs(toolName string) v0.0.46 Oct 1, 2023 Changes in this version + const UnixPathSeparator + const WindowsPathSeparator + var RemoveSourceDirAfterSync = true + var Separator = string(os.PathSeparator) + func AppConfigDirOrDefault(defaultAppConfigDir string, toolName string) string + func GetFiles(root string) ([]string, error) + func HomeDirOrDefault(defaultDirectory string) string + func IsUnixOS() bool + func IsWindowsOS() bool + func IsWritable(path string) bool + func SyncDirectory(source, destination string) error + func UserConfigDirOrDefault(defaultConfigDir string) string + type PathInfo struct + IsAbsolute bool + Parts []string + PartsWithSeparator []string + RootPath string + func NewPathInfo(path string) (PathInfo, error) + func (pathInfo PathInfo) MeshWith(anotherPath string) ([]string, error) + func (pathInfo PathInfo) Paths() ([]string, error)