This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import apt_pkg | |
apt_pkg.init_config() | |
apt_pkg.init_system() | |
c = apt_pkg.Cache(None) | |
depcache = apt_pkg.DepCache(c) | |
recs = apt_pkg.PackageRecords(c) | |
buses = set() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"crypto/rsa" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
"gopkg.in/retry.v1" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"github.com/snapcore/snapd/asserts" | |
"github.com/snapcore/snapd/asserts/assertstest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"crypto/rsa" | |
"fmt" | |
"time" | |
"golang.org/x/crypto/openpgp/armor" | |
"golang.org/x/crypto/openpgp/packet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The extra output from snap run --explain is not suitable for parsing. | |
<< snap run >> | |
Invoked as "snap" | |
Inferred application details: | |
snap name: test-snapd-sh | |
app name: test-snapd-sh | |
confinement: strict | |
base: core (implicit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
//"time" | |
"github.com/snapcore/snapd/asserts" | |
"github.com/snapcore/snapd/asserts/assertstest" | |
) |