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

Function isGitLabBotUser

action/command/vcs_user.go:251–254  ·  view source on GitHub ↗
(userName string)

Source from the content-addressed store, hash-verified

249}
250
251func isGitLabBotUser(userName string) bool {
252 lowerUserName := strings.ToLower(userName)
253 return isBotUser("", lowerUserName) || gitLabBotUserNameRE.MatchString(lowerUserName)
254}
255
256func isBitbucketBotUser(userType, userName string) bool {
257 return isBotUser(userType, userName) || strings.EqualFold(userType, "app") || strings.EqualFold(userType, "app_user")

Callers 1

getGitLabVCSUserFunction · 0.85

Calls 1

isBotUserFunction · 0.85

Tested by

no test coverage detected