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