summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea/repo.go
diff options
context:
space:
mode:
authorguyzmo <guyzmo+github+pub@m0g.net>2017-05-12 05:09:26 +0200
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-05-12 11:09:26 +0800
commit397474ecb19ddd7942df5432387e1221d35573c5 (patch)
tree8e272602586ede65c332c9f1a663db601bba358e /vendor/code.gitea.io/sdk/gitea/repo.go
parent251fb935ff39520482a5436b19bc04352ea25db7 (diff)
downloadgitea-397474ecb19ddd7942df5432387e1221d35573c5.tar.gz
gitea-397474ecb19ddd7942df5432387e1221d35573c5.zip
Added Parent property to the repo API (#1687)
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/repo.go')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/repo.go b/vendor/code.gitea.io/sdk/gitea/repo.go
index b2447618f6..7e997cd5d7 100644
--- a/vendor/code.gitea.io/sdk/gitea/repo.go
+++ b/vendor/code.gitea.io/sdk/gitea/repo.go
@@ -29,6 +29,7 @@ type Repository struct {
Empty bool `json:"empty"`
Private bool `json:"private"`
Fork bool `json:"fork"`
+ Parent *Repository `json:"parent"`
Mirror bool `json:"mirror"`
Size int `json:"size"`
HTMLURL string `json:"html_url"`