Help us shape the future of Go! Take the 2026 Go Developer Survey

parser

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BRANCH = "BRANCH"
	TAG    = "TAG"
)
View Source
const DefaultUser = "git"

Variables

This section is empty.

Functions

This section is empty.

Types

type GitRepo added in v0.12.0

type GitRepo struct {
	// contains filtered or unexported fields
}

func (*GitRepo) Close added in v0.12.0

func (r *GitRepo) Close() error

func (*GitRepo) CollectAll added in v0.12.0

func (r *GitRepo) CollectAll(subtaskCtx core.SubTaskContext) error

func (*GitRepo) CollectBranches added in v0.12.0

func (r *GitRepo) CollectBranches(subtaskCtx core.SubTaskContext) error

func (*GitRepo) CollectCommits added in v0.12.0

func (r *GitRepo) CollectCommits(subtaskCtx core.SubTaskContext) error

func (*GitRepo) CollectTags added in v0.12.0

func (r *GitRepo) CollectTags(subtaskCtx core.SubTaskContext) error

func (*GitRepo) CountBranches added in v0.12.0

func (r *GitRepo) CountBranches(ctx context.Context) (int, error)

func (*GitRepo) CountCommits added in v0.12.0

func (r *GitRepo) CountCommits(ctx context.Context) (int, error)

func (*GitRepo) CountTags added in v0.12.0

func (r *GitRepo) CountTags() (int, error)

type GitRepoCreator added in v0.12.0

type GitRepoCreator struct {
	// contains filtered or unexported fields
}

func NewGitRepoCreator added in v0.12.0

func NewGitRepoCreator(store models.Store, logger core.Logger) *GitRepoCreator

func (*GitRepoCreator) CloneOverHTTP added in v0.12.0

func (l *GitRepoCreator) CloneOverHTTP(repoId, url, user, password, proxy string) (*GitRepo, error)

func (*GitRepoCreator) CloneOverSSH added in v0.12.0

func (l *GitRepoCreator) CloneOverSSH(repoId, url, privateKey, passphrase string) (*GitRepo, error)

func (*GitRepoCreator) LocalRepo added in v0.12.0

func (l *GitRepoCreator) LocalRepo(repoPath, repoId string) (*GitRepo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL