Browse Source

Adding vendor file in sync with gogits/go-gogs-client#64

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
pull/4484/head
Guyzmo 8 years ago
parent
commit
b6e4ed071e
  1. 2
      models/repo.go
  2. 3
      vendor/github.com/gogits/go-gogs-client/repo.go

2
models/repo.go

@ -295,7 +295,7 @@ func (repo *Repository) APIFormat(permission *api.Permission) *api.Repository {
Empty: repo.IsBare,
Size: int(repo.Size/1024),
Fork: repo.IsFork,
Parent: repo.BaseRepo,
Parent: repo.BaseRepo.APIFormat(),
Mirror: repo.IsMirror,
HTMLURL: repo.HTMLURL(),
SSHURL: cloneLink.SSH,

3
vendor/github.com/gogits/go-gogs-client/repo.go generated vendored

@ -27,6 +27,9 @@ type Repository struct {
Description string `json:"description"`
Private bool `json:"private"`
Fork bool `json:"fork"`
ForkID int64 `json:"parent_id"`
Empty bool `json:"empty"`
Size int `json:"size"`
Mirror bool `json:"mirror"`
HTMLURL string `json:"html_url"`
SSHURL string `json:"ssh_url"`

Loading…
Cancel
Save