Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶ added in v1.7.0
BinaryState is used track a Binary's deployment and wineprefix.
func (*Binary) Add ¶ added in v1.7.0
func (bs *Binary) Add(pm *bootstrapper.PackageManifest)
Add formats the given package manifest into a Binary form.
type State ¶
State holds various details about Vinegar's current state.
func Load ¶
Load returns the state file's contents in State form.
If the state file does not exist or is empty, an empty state is returned.
func (*State) CleanPackages ¶ added in v1.6.0
CleanPackages removes all cached package downloads in dirs.Downloads that aren't held in the state's Binary packages.
func (*State) CleanVersions ¶ added in v1.6.0
CleanPackages removes all Binary versions that aren't held in the state's Binary packages.
func (*State) Packages ¶ added in v1.6.0
Packages returns all the available Binary packages from the state.
Click to show internal directories.
Click to hide internal directories.