git

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: MIT Imports: 9 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 struct {
	// contains filtered or unexported fields
}

func New

func New(logger *slog.Logger, config config.GitConfig) (*Git, error)

func (*Git) Clone

func (g *Git) Clone(url string, ref string, path string) error

func (*Git) Pull

func (g *Git) Pull(path string, ref string) error

func (*Git) SetToken added in v0.0.20

func (g *Git) SetToken(token string)

Jump to

Keyboard shortcuts

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