获取检查 git repo 是否存在的command
(actualGitRepoUrl string)
| 73 | |
| 74 | // 获取检查 git repo 是否存在的command |
| 75 | func (g gitOperation) GetCommand4RepositoryUrl(actualGitRepoUrl string) string { |
| 76 | return fmt.Sprintf(`curl -s -o /dev/null -I -w "%%{http_code}" %v`, actualGitRepoUrl) |
| 77 | } |
| 78 | |
| 79 | // git repository 的可访问状态 |
| 80 | type GitRepoAccessStatusEnum string |
no outgoing calls
no test coverage detected