Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultGitDepth = 50
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Git ¶
type Git struct {
// Depth options instructs git to create a shallow
// clone with a history truncated to the specified
// number of revisions.
Depth *int `yaml:"depth,omitempty"`
// The name of a directory to clone into.
// TODO this still needs to be implemented. this field is
// critical for forked Go projects, that need to clone
// to a specific repository.
Path string `yaml:"path,omitempty"`
}
Git stores the configuration details for executing Git commands.
Click to show internal directories.
Click to hide internal directories.