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
Click to show internal directories.
Click to hide internal directories.