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

Method CachedClient

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

Source from the content-addressed store, hash-verified

202}
203
204func (s *StatusGetter) CachedClient(ttl time.Duration) *http.Client {
205 return s.cachedClient(s.Client, ttl)
206}
207
208func (s *StatusGetter) ShouldExclude(repo string) bool {
209 for _, exclude := range s.Exclude {

Callers 2

CurrentUsernameMethod · 0.95
ActualMentionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected