Versions in this module Expand all Collapse all v0 v0.1.0 Aug 6, 2022 Changes in this version + const HookAfterInstall + const HookAfterInstallAll + const HookAfterUninstall + const HookAfterUninstallAll + const HookBeforeInstall + const HookBeforeInstallAll + const HookBeforeUninstall + const HookBeforeUninstallAll + var ErrPackageInstalled = errors.New("pkg: package installed") + var ErrPackageNotInstalled = errors.New("pkg: package not installed") + func Stow(options StowOptions, pkgs ...Package) error + type Loader struct + Source filesystem.Path + State filesystem.Path + Target filesystem.Path + func (l Loader) DefaultManifest() Manifest + func (l Loader) Load() (Package, error) + type Manifest struct + Hooks string + Name string + Source string + type Package interface + Install func() error + Installed func() (bool, error) + Name func() string + RunHookIfExists func(name string) error + Uninstall func() error + type StowOptions struct + Delete bool