MCPcopy 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
65func newPermissionsStore(db *gorm.DB) *PermissionsStore {
66 return &PermissionsStore{db: db}
67}
68
69type AccessModeOptions struct {
70 OwnerID int64 // The ID of the repository owner.

Callers 3

PermissionsMethod · 0.85
reposGetByCollaboratorIDFunction · 0.85

Calls

no outgoing calls

Tested by 2

reposGetByCollaboratorIDFunction · 0.68