MCPcopy Create free account
hub / github.com/cli/cli / HasAuthErrors

Method HasAuthErrors

pkg/cmd/status/status.go:626–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

624}
625
626func (s *StatusGetter) HasAuthErrors() bool {
627 s.authErrorsMu.Lock()
628 defer s.authErrorsMu.Unlock()
629
630 return s.authErrors != nil && s.authErrors.Len() > 0
631}
632
633func statusRun(opts *StatusOptions) error {
634 client, err := opts.HttpClient()

Callers 1

statusRunFunction · 0.95

Calls 1

LenMethod · 0.65

Tested by

no test coverage detected