gitea/models/repo
Lunny Xiao 24b81ac8b9
Use gitrepo's clone and push when possible (#36093)
1 Move `IsRepositoryModelOrDirExist` and `CheckCreateRepository` to
service layer
2 Use `gitrepo.Pushxxx` instead of `git.Push` when possible
3 use `gitrepo.Clonexxx` instead of `gitrepo.Clone` when possible
2025-12-10 09:41:01 +07:00
..
archive_test.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 +07:00
archiver.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 +07:00
attachment.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
attachment_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
avatar.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
collaboration.go Add user blocking (#29028) 2024-03-04 08:16:03 +07:00
collaboration_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
fork.go Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +07:00
fork_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
git.go Add merge style `fast-forward-only` (#28954) 2024-02-12 23:37:23 +07:00
issue.go Clean up log messages (#30313) 2024-04-07 19:17:06 +07:00
language_stats.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
license.go Fix missing license when sync mirror (#33255) 2025-01-14 05:44:12 +07:00
main_test.go
mirror.go
org_repo.go Fix remove org user failure on mssql (#34449) 2025-05-14 02:33:56 +07:00
pushmirror.go Refactor push mirror find and add check for updating push mirror (#32539) 2024-11-18 05:59:04 +07:00
pushmirror_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
redirect.go
redirect_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
release.go Remove the duplicated function GetTags (#35375) 2025-08-29 01:11:42 +07:00
release_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
repo.go Use gitrepo's clone and push when possible (#36093) 2025-12-10 09:41:01 +07:00
repo_indexer.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +07:00
repo_list.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +07:00
repo_list_test.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +07:00
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
repo_unit.go Support actions and reusable workflows from private repos (#32562) 2025-10-25 17:37:33 +07:00
repo_unit_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
search.go Fix `recentupdate` sorting bugs (#32505) 2024-11-15 04:36:22 +07:00
star.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
star_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
topic.go Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
topic_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
transfer.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +07:00
update.go Use gitrepo's clone and push when possible (#36093) 2025-12-10 09:41:01 +07:00
upload.go Refactor legacy code (#35708) 2025-10-20 11:43:08 +07:00
user_repo.go Fix some user name usages (#33689) 2025-02-23 12:33:43 +07:00
user_repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
watch.go Add user blocking (#29028) 2024-03-04 08:16:03 +07:00
watch_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
wiki.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 +07:00
wiki_test.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 +07:00