1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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

6
vendor/vendor.json vendored
View File

@@ -9,10 +9,10 @@
"revisionTime": "2017-05-04T06:58:26Z"
},
{
"checksumSHA1": "L58DGmGw5eZThPkaHEaY9vuz42g=",
"checksumSHA1": "nLhT+bLMj8uLICP+EZbrdoQe6mM=",
"path": "code.gitea.io/sdk/gitea",
"revision": "1350cdb0d049083453c93dcabfcac2e7ba553951",
"revisionTime": "2017-05-04T17:35:58Z"
"revision": "8cff72208aa458f4efa8fdfbad29b03aee485b8c",
"revisionTime": "2017-05-06T01:37:21Z"
},
{
"checksumSHA1": "bOODD4Gbw3GfcuQPU2dI40crxxk=",