Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gogs/gogs
/ newPermissionsStore
Function
newPermissionsStore
internal/database/permissions.go:65–67 ·
view source on GitHub ↗
(db *gorm.DB)
Source
from the content-addressed store, hash-verified
63
}
64
65
func
newPermissionsStore(db *gorm.DB) *PermissionsStore {
66
return
&PermissionsStore{db: db}
67
}
68
69
type
AccessModeOptions
struct
{
70
OwnerID int64
// The ID of the repository owner.
Callers
3
Permissions
Method · 0.85
reposGetByCollaboratorID
Function · 0.85
reposGetByCollaboratorIDWithAccessMode
Function · 0.85
Calls
no outgoing calls
Tested by
2
reposGetByCollaboratorID
Function · 0.68
reposGetByCollaboratorIDWithAccessMode
Function · 0.68