forgejo/routers/api/v1
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444)
The LastCommitCache code is a little complex and there is unnecessary
duplication between the gogit and nogogit variants.

This PR adds the LastCommitCache as a field to the git.Repository and
pre-creates it in the ReferencesGit helpers etc. There has been some
simplification and unification of the variant code.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-07-25 16:39:42 +01:00
..
activitypub
admin Add option to purge users (#18064) 2022-07-14 08:22:09 +01:00
misc
notify
org Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
packages
repo Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
settings
swagger Add spectral linter for Swagger (#20321) 2022-07-11 18:07:16 -05:00
user
utils Slightly simplify LastCommitCache (#20444) 2022-07-25 16:39:42 +01:00
api.go Add write check for creating Commit status (#20332) 2022-07-12 14:51:06 +02:00
auth.go
auth_windows.go