Documentation ¶
Index ¶
- func IndexFromBytes(data []byte) (*repo.IndexFile, error)
- func IndexFromURL(url string) (*repo.IndexFile, error)
- func Install(opts InstallOptions) error
- func LatestVersionAndURL(idx *repo.IndexFile) (string, string, error)
- func Uninstall(opts UninstallOptions) error
- type InstallOptions
- type UninstallOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexFromBytes ¶
IndexFromBytes loads an index file and does minimal validity checking. This will fail if API Version is not set (ErrNoAPIVersion) or if the unmarshal fails.
func IndexFromURL ¶
IndexFromURL loads an index file from an URL.
func Install ¶
func Install(opts InstallOptions) error
func Uninstall ¶
func Uninstall(opts UninstallOptions) error
Types ¶
type InstallOptions ¶
Click to show internal directories.
Click to hide internal directories.