parser

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

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 LibGit2

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

func NewLibGit2

func NewLibGit2(store models.Store) *LibGit2

func (*LibGit2) CloneOverHTTP added in v0.8.0

func (l *LibGit2) CloneOverHTTP(ctx context.Context, repoId, url, user, password, proxy string) error

func (*LibGit2) CloneOverSSH added in v0.8.0

func (l *LibGit2) CloneOverSSH(ctx context.Context, repoId, url, privateKey, passphrase string) error

func (*LibGit2) LocalRepo

func (l *LibGit2) LocalRepo(ctx context.Context, repoPath, repoId string) error

Jump to

Keyboard shortcuts

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