IsRepositoryExist returns true if the repository with given name under user has already existed.
(u *User, repoName string)
| 736 | |
| 737 | // IsRepositoryExist returns true if the repository with given name under user has already existed. |
| 738 | func IsRepositoryExist(u *User, repoName string) (bool, error) { |
| 739 | return isRepositoryExist(x, u, repoName) |
| 740 | } |
| 741 | |
| 742 | // Deprecated: Use repoutil.NewCloneLink instead. |
| 743 | func (r *Repository) cloneLink(isWiki bool) *repoutil.CloneLink { |
no test coverage detected