MCPcopy
hub / github.com/gogs/gogs / removeOrgRepo

Method removeOrgRepo

internal/database/org.go:89–91  ·  view source on GitHub ↗
(e Engine, repoID int64)

Source from the content-addressed store, hash-verified

87}
88
89func (org *User) removeOrgRepo(e Engine, repoID int64) error {
90 return removeOrgRepo(e, org.ID, repoID)
91}
92
93// RemoveOrgRepo removes all team-repository relations of organization.
94func (org *User) RemoveOrgRepo(repoID int64) error {

Callers 2

RemoveOrgRepoMethod · 0.95
TransferOwnershipFunction · 0.80

Implementers 1

mailerUserinternal/database/issue_mail.go

Calls 1

removeOrgRepoFunction · 0.85

Tested by

no test coverage detected