forked from forgejo/forgejo
[FEAT] sourcehut webhooks
This commit is contained in:
parent
04a398a1af
commit
ed9dd0e62a
28 changed files with 890 additions and 13 deletions
|
@ -115,6 +115,16 @@ type Repository struct {
|
|||
RepoTransfer *RepoTransfer `json:"repo_transfer"`
|
||||
}
|
||||
|
||||
// GetName implements the gitrepo.Repository interface
|
||||
func (r Repository) GetName() string {
|
||||
return r.Name
|
||||
}
|
||||
|
||||
// GetOwnerName implements the gitrepo.Repository interface
|
||||
func (r Repository) GetOwnerName() string {
|
||||
return r.Owner.UserName
|
||||
}
|
||||
|
||||
// CreateRepoOption options when creating repository
|
||||
// swagger:model
|
||||
type CreateRepoOption struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue