Beispiel #1
0
func (inst *snapInstruction) deactivate() interface{} {
	return snappy.SetActive(inst.pkg, false, inst)
}
Beispiel #2
0
func (x *cmdActivate) doActivate() error {
	return snappy.SetActive(x.Args.Snap, x.activate, progress.MakeProgressBar())
}
Beispiel #3
0
func (inst *packageInstruction) deactivate() interface{} {
	return snappy.SetActive(inst.pkg, false, inst.prog)
}
Beispiel #4
0
func (inst *packageInstruction) activate() interface{} {
	return snappy.SetActive(inst.pkg, true, inst)
}