You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models/user/user.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -248,6 +248,7 @@ func (u *User) MaxCreationLimit() int {
248
248
}
249
249
250
250
// CanCreateRepoIn checks whether the doer(u) can create a repository in the owner
251
+
// NOTE: functions calling this assume a failure due to repository count limit; it ONLY checks the repo number LIMIT, if new checks are added, those functions should be revised
0 commit comments