Rename SnapState.HasCurrent to IsInstalled

SnapState.HasCurrent has still the name from when long ago we were storing SnapStates into the state early in a first install process. Now SnapStates with Current unset need to have an empty Sequence and are not/cannot be stored into the state with snapstate.Set. So something like IsInstalled captures more clearly the current meaning of that bool property.

2 Likes

opened

https://github.com/snapcore/snapd/pull/3837

this cleanup is on master now

1 Like