Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Add new field "Empty" to Repository structure (#56)
Browse files Browse the repository at this point in the history
* Add new field "Empty" to Repository structure

* Fix Empty type to bool

* Add Size property to Repository structure
  • Loading branch information
lafriks authored and lunny committed May 4, 2017
1 parent a391123 commit 59cdd51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitea/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ type Repository struct {
Name string `json:"name"`
FullName string `json:"full_name"`
Description string `json:"description"`
Empty bool `json:"empty"`
Private bool `json:"private"`
Fork bool `json:"fork"`
Mirror bool `json:"mirror"`
Size int `json:"size"`
HTMLURL string `json:"html_url"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`
Expand Down

0 comments on commit 59cdd51

Please sign in to comment.