Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitHubRepository ¶
type GitHubRepository struct {
// contains filtered or unexported fields
}
func (*GitHubRepository) CheckoutURL ¶
func (ghr *GitHubRepository) CheckoutURL(useSSH bool) string
func (*GitHubRepository) Clone ¶
func (ghr *GitHubRepository) Clone(path string) error
func (*GitHubRepository) Host ¶
func (ghr *GitHubRepository) Host() string
func (*GitHubRepository) Name ¶
func (ghr *GitHubRepository) Name() string
func (*GitHubRepository) Owner ¶
func (ghr *GitHubRepository) Owner() string
func (*GitHubRepository) URL ¶
func (ghr *GitHubRepository) URL() string
type Repository ¶
type Repository interface { Clone(path string) error CheckoutURL(useSecure bool) string Host() string Name() string Owner() string URL() string }
func NewRepository ¶
func NewRepository(nameWithOwner string) Repository
Click to show internal directories.
Click to hide internal directories.