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.go
attachment_test.go
avatar.go
collaboration.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
collaboration_test.go
fork.go
fork_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
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.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
pushmirror_test.go
redirect.go
redirect_test.go
release.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_indexer.go
repo_list.go
repo_list_test.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
star.go
star_test.go
topic.go
topic_test.go
update.go
upload.go
user_repo.go
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go