Imports github.com/snapcore/snapd/dirs github.com/snapcore/snapd/osutil Standard library imports bytes encoding/json errors fmt io os/exec path/filepath regexp strconv strings time