core

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime = ""

BuildTime of the running app.

View Source
var GitCommit = ""

GitCommit is the Git hash and a "+CHANGES" suffix if there are uncommitted changes.

View Source
var Version = ""

Version of the running app.

Functions

This section is empty.

Types

type GitCommands

type GitCommands struct {
	// contains filtered or unexported fields
}

GitCommands ...

func NewGit

func NewGit(ui *clui.Clui) (*GitCommands, error)

NewGit is the factory function for GitCommands

func (*GitCommands) Clone

func (g *GitCommands) Clone(repourl string, dirpath string) error

Clone executes `git clone`

func (*GitCommands) Pull

func (g *GitCommands) Pull(dirpath string) error

Pull executes `git pull`

func (*GitCommands) Status

func (g *GitCommands) Status(dirpath string, untracked bool) error

Status executes `git status`

Jump to

Keyboard shortcuts

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