summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-05-12 04:09:53 -0400
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-05-12 16:09:53 +0800
commit9e627af9a449419bcec65ccff1dba00abc625d43 (patch)
tree2695461dfa8bb8517f8f2f5f53e957ce82f97e88 /models/repo.go
parent5ca3046da6c48723a8b67876ba4d3aa5cb59fc77 (diff)
downloadgitea-9e627af9a449419bcec65ccff1dba00abc625d43.tar.gz
gitea-9e627af9a449419bcec65ccff1dba00abc625d43.zip
gofmt (#1710)
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index c8f7d949a7..07fe768eac 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -301,7 +301,7 @@ func (repo *Repository) innerAPIFormat(mode AccessMode, isParent bool) *api.Repo
Description: repo.Description,
Private: repo.IsPrivate,
Empty: repo.IsBare,
- Size: int(repo.Size/1024),
+ Size: int(repo.Size / 1024),
Fork: repo.IsFork,
Parent: parent,
Mirror: repo.IsMirror,