Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrManagerNotInstalled = errors.New("the package manager isn't installed") ErrPkgNotExists = errors.New("the package not exists") ErrPkgNotInstalled = errors.New("the package isn't installed") ErrNotAdministrator = errors.New("not running as adminstrator") ErrPkgNotFound = errors.New("package not found") ErrManagerIsInstalled = errors.New("the package manager is not installed") )
Functions ¶
This section is empty.
Types ¶
type Managerer ¶
type Managerer interface { Name() string RequireAdmin() bool InstallByName(...string) error Install(...Packager) error UninstallByName(...string) error Uninstall(...Packager) error Version() string LocalPkgs() ([]Packager, error) RepoPkgByName(string) (Packager, error) LocalPkgByName(string) (Packager, error) IsInstalled() bool SearchInRepo(string) ([]Packager, error) SearchInLocal(string) ([]Packager, error) IsInRepo(Packager) bool IsInLocal(Packager) bool InstallManager() error }
TODO:Comment and document this. TODO: Unbloat this...?
Click to show internal directories.
Click to hide internal directories.