link

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 8 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

func CreateLinks(pkg string, ver string, confBinPaths []string, renames []pkgparse.RenameItem) (bool, error)

func GetBinPathsAndLinkPaths

func GetBinPathsAndLinkPaths(
	pkg string,
	ver string,
	confBinPaths []string,
	renames []pkgparse.RenameItem,
) ([]string, []string, error)

func GetLinkPathIfExec

func GetLinkPathIfExec(binPath string, renames []pkgparse.RenameItem) *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