util_git

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneSource

type CloneSource struct {
	Repo   string
	Branch string
	Tag    string
	Commit string
}

type GitCloneResult

type GitCloneResult struct {
	Dir  util_work_dir.WorkDir
	Hash string
}

func CloneShallow

func CloneShallow(
	ctx context.Context,
	source CloneSource,
	workDir util_work_dir.WorkDir,
) (GitCloneResult, error)

Jump to

Keyboard shortcuts

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