Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, config *gitconfig.Repo) (git.Helper, error)
- type Helper
- func (h Helper) GetCommit(ctx context.Context, gitURL string, refType string, ref string) (*git.Commit, error)
- func (h Helper) GetCommitHistoryLink(gitURL string, commit string) (string, error)
- func (h Helper) GetHTTPLink(gitURL string) (string, error)
- func (h Helper) GetTagArchive(ctx context.Context, gitURL, tagName string) (*git.Tag, error)
- func (h Helper) ListBranch(ctx context.Context, gitURL string, params *git.SearchParams) ([]string, error)
- func (h Helper) ListTag(ctx context.Context, gitURL string, params *git.SearchParams) ([]string, error)
Constants ¶
View Source
const Kind = "github"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func (Helper) GetCommitHistoryLink ¶
func (Helper) GetTagArchive ¶
func (Helper) ListBranch ¶
Click to show internal directories.
Click to hide internal directories.