git

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git interface {
	// Clones a git repository to a specified directory.
	Clone(repoURL string, directory string) error
	// Initializes a new git repository in the specified directory.
	Init(directory string) error
}

Git is an interface that provides methods for interacting with git repositories.

func NewDefaultGit

func NewDefaultGit() Git

NewDefaultGit creates a new instance of the default Git implementation. It looks up the git binary path at construction time.

Jump to

Keyboard shortcuts

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