link

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLink(old string, new string) (bool, error)

Create a link to an old file at the new path On windows, .bat will be appended to the new path to make a batch file

func CreateLinks(pkg string, ver string, confBinPaths []string) (bool, error)

func GetBinPathsAndLinkPaths

func GetBinPathsAndLinkPaths(
	pkg string,
	ver string,
	confBinPaths []string,
) ([]string, []string, error)

func GetLinkPathIfExec

func GetLinkPathIfExec(binPath string) *string

Returns a link path to ~/.webman/bin/foo This is system-agnostic, it will always be that format

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL