1
0
Fork 0
forked from forgejo/forgejo

Added Parent property to the repo API (#1687)

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
This commit is contained in:
guyzmo 2017-05-12 05:09:26 +02:00 committed by Bo-Yi Wu
parent 251fb935ff
commit 397474ecb1
3 changed files with 20 additions and 3 deletions

View file

@ -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"`