git

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionsFunc

type OptionsFunc func(*Repository)

OptionsFunc to set options to GitRepository

type Repository added in v0.3.2

type Repository struct {
}

Repository is a struct to manage git operations

func NewRepository added in v0.3.2

func NewRepository(opts ...OptionsFunc) *Repository

NewRepository returns a new Repository

func (*Repository) Clone added in v0.3.2

func (g *Repository) Clone(directory, url string) error

Clone clones a git repository

Jump to

Keyboard shortcuts

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