git

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitExecutablePath = "git"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	URI       string
	Revision  string
	ClonePath string `json:"-"`
}

func (*Git) CheckPrerequisites

func (git *Git) CheckPrerequisites(*prerequisites.Args) error

CheckPrerequisites Function should check if the git can be run and if not it returns error (not nil value)

func (*Git) FillDefault

func (git *Git) FillDefault(*prerequisites.Args) error

func (*Git) FillDynamics

func (git *Git) FillDynamics(*prerequisites.Args) error

type GitCheckout

type GitCheckout struct {
	Git
}

func (*GitCheckout) ConstructCMDLine

func (args *GitCheckout) ConstructCMDLine() []string

type GitClone

type GitClone struct {
	Git
}

func (*GitClone) ConstructCMDLine

func (args *GitClone) ConstructCMDLine() []string

type GitGetHash

type GitGetHash struct {
	Git
}

func (*GitGetHash) ConstructCMDLine

func (args *GitGetHash) ConstructCMDLine() []string

type GitSubmoduleUpdate

type GitSubmoduleUpdate struct {
	Git
}

func (*GitSubmoduleUpdate) ConstructCMDLine

func (args *GitSubmoduleUpdate) ConstructCMDLine() []string

Jump to

Keyboard shortcuts

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