gitea/services/repository
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543)
Refactor Git command functions to use WithXXX methods instead of
exposing RunOpts.
This change simplifies reuse across gitrepo and improves consistency,
encapsulation, and maintainability of command options.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-07 17:06:51 +08:00
..
archiver Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 -07:00
commitstatus Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
files Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
gitgraph Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
adopt_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
adopt.go Replace gobwas/glob package (#35478) 2025-09-13 18:01:00 +00:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
avatar.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
branch.go Move some functions to gitrepo package (#35503) 2025-09-26 10:14:20 -07:00
cache.go
check.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
collaboration_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
collaboration.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
commit.go
contributors_graph_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
contributors_graph.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
create_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
create.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
delete_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
delete.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00
fork_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
fork.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
generate_test.go Fix some trivial problems (#34579) 2025-06-02 15:22:43 +00:00
generate.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
hooks.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00
init.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
lfs_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
lfs.go
license_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
license.go Only keep popular licenses (#33832) 2025-03-10 06:40:37 +08:00
main_test.go
merge_upstream.go Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770) 2025-06-19 12:29:10 -07:00
migrate.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +08:00
push.go Fix various bugs (#35177) 2025-07-30 07:08:59 +00:00
repo_team_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
repo_team.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
repository_test.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00
repository.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00
setting.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
template.go Move some functions from package git to gitrepo (#33910) 2025-09-01 19:13:18 +00:00
transfer_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
transfer.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00