IsUsersIgnorePath checks whether the username is in ignore path
(username string)
| 46 | |
| 47 | // IsUsersIgnorePath checks whether the username is in ignore path |
| 48 | func IsUsersIgnorePath(username string) bool { |
| 49 | ignorePathInit.Do(initPathIgnore) |
| 50 | return slices.Contains(pathIgnore.Users, username) |
| 51 | } |
| 52 | |
| 53 | // IsQuestionsIgnorePath checks whether the questionID is in ignore path |
| 54 | func IsQuestionsIgnorePath(questionID string) bool { |
no outgoing calls
no test coverage detected