|
|
|
@ -104,7 +104,7 @@ func IsRepositoryExist(user *User, repoName string) (bool, error) { |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
|
// Define as all lower case!!
|
|
|
|
|
illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"} |
|
|
|
|
illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "repo", "template", "admin"} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// IsLegalName returns false if name contains illegal characters.
|
|
|
|
|