MCPcopy Create free account
hub / github.com/anchordotdev/cli / Check

Method Check

truststore/platform.go:3–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1package truststore
2
3func (s *Platform) Check() (bool, error) {
4 ok, err := s.check()
5 if err != nil {
6 err = Error{
7 Op: OpCheck,
8
9 Warning: PlatformError{
10 Err: err,
11
12 NSSBrowsers: nssBrowsers,
13 },
14 }
15 }
16 return ok, err
17}
18
19func (s *Platform) CheckCA(ca *CA) (installed bool, err error) {
20 if _, cerr := s.check(); cerr != nil {

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected