git

package
v0.0.0-...-5d9d367 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGitDepth = 50
)

Variables

This section is empty.

Functions

func GitDepth

func GitDepth(g *Git) int

GitDepth returns GitDefaultDepth when Git.Depth is empty. GitDepth returns Git.Depth when it is not empty.

Types

type Git

type Git struct {
	Depth *int `yaml:"depth,omitempty"`
}

Git stores the configuration details for executing Git commands.

Jump to

Keyboard shortcuts

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