Skip to content

Commit 1feccdf

Browse files
committed
Exposes in API the Repo entity's Size and Isempty properties
Signed-off-by: Guyzmo <[email protected]>
1 parent 1350cdb commit 1feccdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitea/repo.go

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ type Repository struct {
2929
Empty bool `json:"empty"`
3030
Private bool `json:"private"`
3131
Fork bool `json:"fork"`
32+
Empty bool `json:"empty"`
33+
Size int `json:"size"`
3234
Mirror bool `json:"mirror"`
3335
Size int `json:"size"`
3436
HTMLURL string `json:"html_url"`

0 commit comments

Comments
 (0)