1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-14 22:47:21 +00:00

Move and rename UpdateRepository (#34136)

This commit is contained in:
Lunny Xiao
2025-04-12 11:22:18 -07:00
committed by GitHub
parent 5015992db5
commit 93a2def96b
7 changed files with 145 additions and 156 deletions

View File

@ -464,7 +464,7 @@ func cleanupRepository(doer *user_model.User, repoID int64) {
}
func updateGitRepoAfterCreate(ctx context.Context, repo *repo_model.Repository) error {
if err := repo_module.CheckDaemonExportOK(ctx, repo); err != nil {
if err := checkDaemonExportOK(ctx, repo); err != nil {
return fmt.Errorf("checkDaemonExportOK: %w", err)
}