Documentation
¶
Index ¶
Constants ¶
View Source
const CONFIG_FILE_NAME = "portable.yaml"
View Source
const CONFIG_NAME = "portable"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortableApp ¶
type PortableApp struct {
Name string `json:"name"`
Bind []*Bind `json:"bind"`
// contains filtered or unexported fields
}
PortableApp struct
func FindApps ¶
func FindApps(roots []string, maxDepth int) (apps []*PortableApp)
FindApps finds the directory that contains a portable.yaml file.
func (*PortableApp) Abs ¶
func (app *PortableApp) Abs(path string) string
func (*PortableApp) ConfigPath ¶
func (app *PortableApp) ConfigPath() string
func (*PortableApp) Install ¶
func (app *PortableApp) Install(dirtyRun bool) (err error)
Install the app
func (*PortableApp) Uninstall ¶
func (app *PortableApp) Uninstall(dirtyRun bool) (err error)
Uninstall the app
Click to show internal directories.
Click to hide internal directories.