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

Method ShouldExclude

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

Source from the content-addressed store, hash-verified

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

Callers 2

LoadNotificationsMethod · 0.95
LoadEventsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected