You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/repo
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518)
* Move organization related structs into sub package

* Fix test

* Fix lint

* Move more functions into sub packages

* Fix bug

* Fix test

* Update models/organization/team_repo.go

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Apply suggestions from code review

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Fix fmt

* Follow suggestion from @Gusted

* Fix test

* Fix test

* Fix bug

* Use ctx but db.DefaultContext on routers

* Fix bug

* Fix bug

* fix bug

* Update models/organization/team_user.go

* Fix bug

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
archiver.go format with gofumpt (#18184) 2 years ago
attachment.go format with gofumpt (#18184) 2 years ago
attachment_test.go Move attachment into models/repo/ (#17650) 3 years ago
avatar.go Move repository model into models/repo (#17933) 3 years ago
fork.go Some repository refactors (#17950) 3 years ago
fork_test.go Some repository refactors (#17950) 3 years ago
git.go Move repository model into models/repo (#17933) 3 years ago
issue.go Prevent deadlock in create issue (#17970) 3 years ago
language_stats.go Move repository model into models/repo (#17933) 3 years ago
main_test.go Some repository refactors (#17950) 3 years ago
mirror.go Touch mirrors on even on fail to update (#19217) 2 years ago
pushmirror.go Improve mirror iterator (#18928) 2 years ago
pushmirror_test.go Improve mirror iterator (#18928) 2 years ago
redirect.go Some repository refactors (#17950) 3 years ago
redirect_test.go Some repository refactors (#17950) 3 years ago
repo.go Move organization related structs into sub package (#18518) 2 years ago
repo_indexer.go Move repository model into models/repo (#17933) 3 years ago
repo_list.go Use conditions but not repo ids as query condition (#16839) 3 years ago
repo_test.go Some repository refactors (#17950) 3 years ago
repo_unit.go Add config option to disable "Update branch by rebase" (#18745) 2 years ago
star.go Some repository refactors (#17950) 3 years ago
star_test.go Some repository refactors (#17950) 3 years ago
topic.go Some repository refactors (#17950) 3 years ago
topic_test.go Some repository refactors (#17950) 3 years ago
update.go Some repository refactors (#17950) 3 years ago
user_repo.go Move organization related structs into sub package (#18518) 2 years ago
watch.go Some repository refactors (#17950) 3 years ago
watch_test.go Some repository refactors (#17950) 3 years ago
wiki.go Move repository model into models/repo (#17933) 3 years ago
wiki_test.go Add separate SSH_USER config option (#17584) 2 years ago