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

Method CachedClient

pkg/cmd/status/status.go:206–208  ·  view source on GitHub ↗
(ttl time.Duration)

Source from the content-addressed store, hash-verified

204}
205
206func (s *StatusGetter) CachedClient(ttl time.Duration) *http.Client {
207 return s.cachedClient(s.Client, ttl)
208}
209
210func (s *StatusGetter) ShouldExclude(repo string) bool {
211 return slices.Contains(s.Exclude, repo)

Callers 2

CurrentUsernameMethod · 0.95
ActualMentionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected