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

Method IsBot

pkg/search/result.go:260–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258}
259
260func (u User) IsBot() bool {
261 // copied from api/queries_issue.go
262 // would ideally be shared, but it would require coordinating a "user"
263 // abstraction in a bunch of places.
264 return u.ID == ""
265}
266
267func (u User) ExportData() map[string]any {
268 isBot := u.IsBot()

Callers 1

ExportDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected