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

Method HasAuthErrors

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

Source from the content-addressed store, hash-verified

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

Callers 1

statusRunFunction · 0.95

Calls 1

LenMethod · 0.65

Tested by

no test coverage detected