gitea/routers/api/v1
Gennady Kovshenin fd2d5f06b0
Add stat to ToCommit function for speed (#21337)
Calls to ToCommit are very slow due to fetching diffs, analyzing files.
This patch lets us supply `stat` as false to speed fetching a commit
when we don't need the diff.

/v1/repo/commits has a default `stat` set as true now. Set to false to
experience fetching thousands of commits per second instead of 2-5 per
second.
2022-10-06 11:21:04 +08:00
..
activitypub
admin
misc
notify
org [API] teamSearch show teams with no members if user is admin (#21204) 2022-09-19 20:02:29 +08:00
packages
repo Add stat to ToCommit function for speed (#21337) 2022-10-06 11:21:04 +08:00
settings
swagger Add API endpoint to get changed files of a PR (#21177) 2022-09-29 04:27:20 +02:00
user
utils
api.go Add API endpoint to get changed files of a PR (#21177) 2022-09-29 04:27:20 +02:00
auth_windows.go
auth.go