git

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package git provides git helper functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemporaryClone

func TemporaryClone(logger *zap.Logger, dirPath string, branchOrTag string) (string, error)

TemporaryClone clones the git directory at the given dirPath into a temporary directory

It is safe to os.RemoveAll this directory.

If branchOrTag is not empty, this specific branch or tag will be cloned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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