Documentation ¶
Index ¶
Constants ¶
View Source
const ( HookBeforeUninstallAll = "before_uninstall_all" HookAfterUninstallAll = "after_uninstall_all" HookBeforeUninstall = "before_uninstall" HookAfterUninstall = "after_uninstall" HookBeforeInstall = "before_install" HookAfterInstall = "after_install" HookBeforeInstallAll = "before_install_all" HookAfterInstallAll = "after_install_all" )
Variables ¶
View Source
var ( ErrPackageInstalled = errors.New("pkg: package installed") ErrPackageNotInstalled = errors.New("pkg: package not installed") )
Functions ¶
func Stow ¶
func Stow(options StowOptions, pkgs ...Package) error
Types ¶
type Loader ¶
type Loader struct {
State, Source, Target filesystem.Path
}
func (Loader) DefaultManifest ¶
type StowOptions ¶
type StowOptions struct {
Delete bool
}
Click to show internal directories.
Click to hide internal directories.