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

Method check

truststore/platform_linux.go:78–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (s *Platform) check() (bool, error) {
79 s.init()
80
81 if s.trustCommand == nil {
82 return false, ErrUnsupportedDistro
83 }
84
85 return true, nil
86}
87
88func (s *Platform) checkCA(ca *CA) (bool, error) {
89 if ok, err := s.check(); !ok {

Callers 7

CheckMethod · 0.95
CheckCAMethod · 0.95
InstallCAMethod · 0.95
ListCAsMethod · 0.95
UninstallCAMethod · 0.95
checkCAMethod · 0.95
listCAsMethod · 0.95

Calls 1

initMethod · 0.95

Tested by

no test coverage detected