MCPcopy Index your code
hub / github.com/github/github-mcp-server / isTrustedBot

Method isTrustedBot

pkg/lockdown/lockdown.go:303–306  ·  view source on GitHub ↗
(username string)

Source from the content-addressed store, hash-verified

301}
302
303func (c *RepoAccessCache) isTrustedBot(username string) bool {
304 _, ok := c.trustedBotLogins[strings.ToLower(username)]
305 return ok
306}
307
308func cacheKey(owner, repo string) string {
309 return fmt.Sprintf("%s/%s", strings.ToLower(owner), strings.ToLower(repo))

Callers 1

IsSafeContentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected