MCPcopy
hub / github.com/gogs/gogs / RemoveOrgRepo

Method RemoveOrgRepo

internal/database/org.go:94–96  ·  view source on GitHub ↗

RemoveOrgRepo removes all team-repository relations of organization.

(repoID int64)

Source from the content-addressed store, hash-verified

92
93// RemoveOrgRepo removes all team-repository relations of organization.
94func (org *User) RemoveOrgRepo(repoID int64) error {
95 return org.removeOrgRepo(x, repoID)
96}
97
98// CreateOrganization creates record of a new organization.
99func CreateOrganization(org, owner *User) (err error) {

Callers

nothing calls this directly

Implementers 1

mailerUserinternal/database/issue_mail.go

Calls 1

removeOrgRepoMethod · 0.95

Tested by

no test coverage detected