# Functions
NewInstall computes and returns the installation state for a service.
NewRun computes and returns the current runtime status of a service.
# Constants
Installed means everything is good, the service is properly registered.
go:generate stringer -type=RunState.
NotInstalled means launchd has never heard of the service.
go:generate stringer -type=RunState.
PlistPresentButNotLoaded means the file exists but hasn't been registered.
go:generate stringer -type=RunState.
go:generate stringer -type=RunState.
Unknown when we failed to find out.
# Interfaces
Installable is the interface we depend on to determine install state.
Runnable is the interface we depend on to determine a service's run state.
# Type aliases
RunState enumerates the runtime states that a launchd service may be in.