git

package
v0.0.0-...-0d5a216 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloneCmd = "clone"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneOptions

type CloneOptions struct {
	URL         string
	Destination string
}

type Git

type Git struct {
}

func NewClient

func NewClient() (*Git, error)

func (*Git) Clone

func (g *Git) Clone(ctx context.Context, opts *CloneOptions) error

func (*Git) Run

func (g *Git) Run(subcmd string, args ...string) error

type Gitter

type Gitter interface {
	Clone(context.Context, *CloneOptions) error
}

Jump to

Keyboard shortcuts

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