Documentation
¶
Index ¶
- type Plan
- type Result
- func Install(plan Plan, updateShell bool) (Result, error)
- func InstallWith(plan Plan, updateShell bool, readFile func(string) ([]byte, error), ...) (Result, error)
- func Uninstall(plan Plan) (Result, error)
- func UninstallWith(plan Plan, readFile func(string) ([]byte, error), remove func(string) error) (Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plan ¶
type Plan struct {
ExecutablePath string
InstallDir string
TargetPath string
ShellName string
ShellRCPath string
ShellSnippet string
PathContains bool
}
func PlanInstall ¶
func PlanInstallWith ¶
func WithInstallDir ¶
type Result ¶
func InstallWith ¶
Click to show internal directories.
Click to hide internal directories.