Documentation
¶
Index ¶
- func ClinkIsInstalled() bool
- func CopyFile(src, dst string) error
- func CreateSymlink(target, linkPath string) error
- func EnsureDir(path string) error
- func FileExists(path string) (bool, error)
- func FindExecutable(name string, paths []string) (string, error)
- func FmtEnvPath(envPath string) string
- func JoinPaths(paths []string) string
- func NormalizePath(path string) string
- func SplitPath(envPath string) []string
- func ToExecutableName(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClinkIsInstalled ¶
func ClinkIsInstalled() bool
ClinkIsInstalled checks if Clink is installed on Windows
func CreateSymlink ¶
CreateSymlink creates a symbolic link
func FileExists ¶
FileExists checks if a file exists and is not a directory
func FindExecutable ¶
FindExecutable looks for an executable file in the given directories
func FmtEnvPath ¶
FmtEnvPath formats an environment path for use in the current shell
func NormalizePath ¶
NormalizePath normalizes a path by expanding home directory and cleaning it
func ToExecutableName ¶
ToExecutableName converts a tool name to the executable name depending on OS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.