ports

package
v0.0.0-...-ae3a166 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alias

func Alias(p string) string

Alias aliases ports using the config values.

func All

func All() ([]string, error)

All lists all ports found in the PortDir.

func BaseLoc

func BaseLoc(d string) string

BaseLoc removes the PortDir from a string.

func FullLoc

func FullLoc(d string) string

FullLoc adds the PortDir to a string.

func Inst

func Inst() ([]string, error)

Inst lists all installed ports.

func InstVers

func InstVers() ([]string, error)

InstVers list all installed versions, this should follow the same order as Inst().

func Loc

func Loc(ports []string, n string) ([]string, error)

Loc tries to get the location of a port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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