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

Method ShouldExclude

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

Source from the content-addressed store, hash-verified

206}
207
208func (s *StatusGetter) ShouldExclude(repo string) bool {
209 for _, exclude := range s.Exclude {
210 if repo == exclude {
211 return true
212 }
213 }
214 return false
215}
216
217func (s *StatusGetter) CurrentUsername() (string, error) {
218 s.usernameMu.Lock()

Callers 2

LoadNotificationsMethod · 0.95
LoadEventsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected