gitea/models/repo
hr-98 cf27403e18
Round language stats percentage using largest remainder (#22026)
Fix #22023 

I've changed how the percentages for the language statistics are rounded
because they did not always add up to 100%
Now it's done with the largest remainder method, which makes sure that
total is 100%

Co-authored-by: Lauris BH <lauris@nix.lv>
2022-12-08 10:47:47 +08:00
..
archiver.go
attachment_test.go
attachment.go
avatar.go
collaboration_test.go
collaboration.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
fork_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
fork.go
git.go
issue.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
language_stats.go Round language stats percentage using largest remainder (#22026) 2022-12-08 10:47:47 +08:00
main_test.go
mirror.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
pushmirror_test.go
pushmirror.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
redirect_test.go
redirect.go
release.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_indexer.go
repo_list_test.go
repo_list.go
repo_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_unit.go
repo.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
star_test.go
star.go
topic_test.go
topic.go
update.go
upload.go
user_repo_test.go
user_repo.go
watch_test.go
watch.go
wiki_test.go
wiki.go