Documentation
¶
Index ¶
- func AddInstalled(root string, m pm.Meta) error
- func AddRemotes(root string, uris []string) error
- func IsInstalled(root string, m pm.Meta) (bool, error)
- func ListAvailable(root string, w io.Writer) error
- func ListInstalled(root string, w io.Writer) error
- func ListInstalledFiles(root string, w io.Writer, names []string) error
- func ListRemotes(root string, w io.Writer) error
- func LoadAvailable(root string) (pm.Available, error)
- func LoadInstalled(root string) (pm.Installed, error)
- func Pull(root string) error
- func RemoveInstalled(root string, m pm.Meta) error
- func RemoveRemotes(root string, uris []string) error
- type DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInstalled ¶
AddInstalled adds m to the installed package database.
func AddRemotes ¶
AddRemotes appends the provided uri to the list of configured remotes.
func IsInstalled ¶
IsInstalled checks if m is in the installed package database.
func ListAvailable ¶
ListAvailable prints all installable packages
func ListInstalled ¶
ListInstalled pretty prints the installed database to w.
func ListInstalledFiles ¶
ListInstalledFiles prints the contents of a package.
func ListRemotes ¶
ListRemotes prints all configured remotes to w.
func LoadAvailable ¶
LoadAvailable returns the collection of available packages
func RemoveInstalled ¶
RemoveInstalled adds m to the installed package database.
func RemoveRemotes ¶
RemoveRemotes removes the given uri from the list of configured remotes.
Types ¶
Click to show internal directories.
Click to hide internal directories.