]> source.dussan.org Git - gitea.git/commit
Refactor SSH clone URL generation code (#28421)
authorwxiaoguang <wxiaoguang@gmail.com>
Fri, 15 Dec 2023 06:18:12 +0000 (14:18 +0800)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2023 06:18:12 +0000 (06:18 +0000)
commit4f04ab25867ee1b4f20241798bf90a588083ec6b
tree835dffbe5242d15b01835d1cf27c13d662b970c7
parent6632d1497c9fc644c696e9a1239cd62baa5dc29e
Refactor SSH clone URL generation code (#28421)

Refactor the code and add tests, keep the old logic.
models/repo/repo.go
models/repo/repo_test.go