git

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone added in v1.0.14

func Clone(remote, ref, dir string) error

func HeadInfo

func HeadInfo(dir string) (string, string, error)

func Pull

func Pull(ref, dir string) error

func PullManifest added in v1.0.14

func PullManifest(manifestFilename string, baseDir string, reset, recurse, optimizeGitRemotes, asSubtree bool)

func Status

func Status(dir string) (bool, error)

Types

type LocalGitRepo

type LocalGitRepo struct {
	Remote          string
	OptimizedRemote string
	Ref             string
	HeadRef         string
	SubDir          string
	AbsDir          string
}

Jump to

Keyboard shortcuts

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