Debian Codegraph @

certstore/certstore_linux.go

raw symbols SCIP
1 package certstore
2
3 import "errors"
4
5 // This will hopefully give a compiler error that will hint at the fact that
6 // this package isn't designed to work on Linux.
7 func init() {
8 CERTSTORE_DOESNT_WORK_ON_LINIX
9 }
10
11 // Implement this function, just to silence other compiler errors.
12 func openStore() (Store, error) {
13 return nil, errors.New("certstore only works on macOS and Windows")
14 }