git

package
v0.0.0-...-27b3b18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrClone means a clone error.
	ErrClone = errors.New("git: clone error")

	// ErrRefTag means a tag lookup error.
	ErrRefTag = errors.New("git: tag lookup error")

	// ErrRefIter means a ref iteration error.
	ErrRefIter = errors.New("git: ref iteration error")
)

Functions

func Clone

func Clone(repo *secret.Repo, dst string) (string, error)

Clone clones a repo. The clone's tag is used for log reference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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