forgejo/modules/repository
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
..
collaborator.go
collaborator_test.go
commits.go
commits_test.go
create.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
create_test.go
delete.go
env.go
fork.go
generate.go Move some regexp out of functions (#25430) 2023-06-21 19:57:18 +00:00
generate_test.go Substitute variables in path names of template repos too (#25294) 2023-06-20 21:14:47 +00:00
hooks.go
init.go
init_test.go
license.go
license_test.go
main_test.go
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
repo.go Use git command instead of the ini package to remove the origin remote (#25066) 2023-06-05 18:05:31 +08:00
temp.go