git

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHelper

type GitHelper interface {
	CreateBundle(ctx context.Context, repoDir string, filename string) (bool, error)
	CreateBundleFromRefs(ctx context.Context, repoDir string, filename string, refs map[string]string) error
	CreateIncrementalBundle(ctx context.Context, repoDir string, filename string, prereqs []string) (bool, error)
	CloneBareRepo(ctx context.Context, url string, destination string) error
	UpdateBareRepo(ctx context.Context, repoDir string) error
	GetRemoteUrl(ctx context.Context, repoDir string) (string, error)
}

func NewGitHelper

func NewGitHelper(l log.TraceLogger, c cmd.CommandExecutor) GitHelper

Jump to

Keyboard shortcuts

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