MCPcopy Index your code
hub / github.com/cli/cli / HasAuthErrors

Method HasAuthErrors

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

Source from the content-addressed store, hash-verified

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

Callers 1

statusRunFunction · 0.95

Calls 1

LenMethod · 0.65

Tested by

no test coverage detected