forgejo/services/repository
Earl Warren cfefe2b6c9
chore(refactor): split repo_service.ForkRepository in two
ForkRepository performs two different functions:

* The fork itself, if it does not already exist
* Updates and notifications after the fork is performed

The function is split to reflect that and otherwise unmodified.

The two function are given different names to:

* clarify which integration tests provides coverage
* distinguish it from the notification method by the same name
2024-08-11 12:40:34 +02:00
..
archiver Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
commitstatus
files Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
adopt.go
adopt_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
avatar.go
avatar_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
branch.go
cache.go
check.go
collaboration.go
collaboration_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
commit.go
contributors_graph.go
contributors_graph_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
create.go
create_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
delete.go
fork.go chore(refactor): split repo_service.ForkRepository in two 2024-08-11 12:40:34 +02:00
fork_test.go chore(refactor): split repo_service.ForkRepository in two 2024-08-11 12:40:34 +02:00
generate.go
generate_test.go
hooks.go
init.go
lfs.go
lfs_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
main_test.go
migrate.go Distinguish LFS object errors to ignore missing objects during migration (#31702) 2024-08-04 18:24:10 +02:00
push.go
repository.go
repository_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
review.go
review_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
setting.go
star.go
template.go
transfer.go
transfer_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00