MCPcopy Index your code
hub / github.com/bytebase/bytebase / isBotUser

Function isBotUser

action/command/vcs_user.go:260–262  ·  view source on GitHub ↗
(userType, userName string)

Source from the content-addressed store, hash-verified

258}
259
260func isBotUser(userType, userName string) bool {
261 return strings.EqualFold(userType, "bot") || strings.HasSuffix(strings.ToLower(userName), "[bot]")
262}

Callers 3

getGitHubVCSUserFunction · 0.85
isGitLabBotUserFunction · 0.85
isBitbucketBotUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected