1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 16:14:32 +01:00
gitea/models/repo
a1012112796 4aba8a6a5f
Split lfs size from repository size (#22900)
releated to #21820

- Split `Size` in repository table as two new colunms, one is `GitSize`
for git size, the other is `LFSSize` for lfs data. still store full size
in `Size` colunm.
- Show full size on ui, but show each of them by a `title`;  example:

![image](https://user-images.githubusercontent.com/25342410/218636251-e200f085-d7e7-4a25-9ff1-b586a63e07a9.png)

- Return full size in api response.

---------

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: DmitryFrolovTri <23313323+DmitryFrolovTri@users.noreply.github.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-06-28 22:41:02 +00:00
..
archiver.go Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
attachment_test.go
attachment.go
avatar.go
collaboration_test.go
collaboration.go
fork_test.go
fork.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror_test.go
pushmirror.go
redirect_test.go
redirect.go
release.go fix: release page for empty or non-existing target (#24470) 2023-05-10 11:43:55 +08:00
repo_indexer.go
repo_list_test.go fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
repo_list.go
repo_test.go
repo_unit.go
repo.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
search.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
star_test.go Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
star.go Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
topic_test.go
topic.go Fix topics deleted via API not being deleted in org page (#24825) 2023-05-21 11:03:20 +02:00
update.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
upload.go
user_repo_test.go
user_repo.go
watch_test.go
watch.go
wiki_test.go
wiki.go