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`
Click to show internal directories.
Click to hide internal directories.