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

Method ShouldExclude

pkg/cmd/status/status.go:210–212  ·  view source on GitHub ↗
(repo string)

Source from the content-addressed store, hash-verified

208}
209
210func (s *StatusGetter) ShouldExclude(repo string) bool {
211 return slices.Contains(s.Exclude, repo)
212}
213
214func (s *StatusGetter) CurrentUsername() (string, error) {
215 s.usernameMu.Lock()

Callers 2

LoadNotificationsMethod · 0.95
LoadEventsMethod · 0.95

Calls 1

ContainsMethod · 0.80

Tested by

no test coverage detected