forgejo/services/repository
Lunny Xiao 408a484224
Adjust object format interface (#28469)
- Remove `ObjectFormatID`
- Remove function `ObjectFormatFromID`.
- Use `Sha1ObjectFormat` directly but not a pointer because it's an
empty struct.
- Store `ObjectFormatName` in `repository` struct
2023-12-17 11:56:08 +00:00
..
archiver Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
files Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
cache.go
check.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
collaboration.go
collaboration_test.go
commit.go
create.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
create_test.go Remove unnecessary parameter (#27671) 2023-10-18 15:03:10 +00:00
delete.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
delete_test.go Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
fork.go
fork_test.go
hooks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
lfs.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
main_test.go
push.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
repository.go Remove unnecessary parameter (#27671) 2023-10-18 15:03:10 +00:00
repository_test.go
review.go
review_test.go
template.go
transfer.go
transfer_test.go