Documentation ¶
Overview ¶
This is a simple example
Index ¶
- Variables
- func IsDirectory(path string) bool
- func RunCmd(workingpath string, parts []string) (error, bool, string)
- func VerifyLocalGoRepo(gorepo string) bool
- type RepoStatus
- func (rs *RepoStatus) Changed() bool
- func (rs *RepoStatus) CheckBranches() bool
- func (rs *RepoStatus) CheckDirty() bool
- func (rs *RepoStatus) CheckoutBranch(branch string) (string, string)
- func (rs *RepoStatus) DisableEverything()
- func (rs *RepoStatus) Draw()
- func (rs *RepoStatus) EnableMergeDevel()
- func (rs *RepoStatus) EnableSelectTag()
- func (rs *RepoStatus) GetCurrentBranchName() string
- func (rs *RepoStatus) GetCurrentBranchVersion() string
- func (rs *RepoStatus) GetDevelName() string
- func (rs *RepoStatus) GetDevelVersion() string
- func (rs *RepoStatus) GetLastTagVersion() string
- func (rs *RepoStatus) GetMasterName() string
- func (rs *RepoStatus) GetMasterVersion() string
- func (rs *RepoStatus) GetPath() string
- func (rs *RepoStatus) GetUserName() string
- func (rs *RepoStatus) GetUserVersion() string
- func (rs *RepoStatus) Hide()
- func (rs *RepoStatus) Ready() bool
- func (rs *RepoStatus) SetDevelName(s string)
- func (rs *RepoStatus) SetMasterName(s string)
- func (ls *RepoStatus) SetSpeedActual(s string)
- func (rs *RepoStatus) SetUserName(s string)
- func (rs *RepoStatus) Show()
- func (rs *RepoStatus) Toggle()
- func (rs *RepoStatus) Update()
Constants ¶
This section is empty.
Variables ¶
View Source
var CHANGE *log.LogFlag
View Source
var INFO *log.LogFlag
View Source
var NOW *log.LogFlag
View Source
var SPEW *log.LogFlag
View Source
var STATUS *log.LogFlag
View Source
var WARN *log.LogFlag
Functions ¶
func IsDirectory ¶
func VerifyLocalGoRepo ¶
Types ¶
type RepoStatus ¶
type RepoStatus struct {
// contains filtered or unexported fields
}
func (*RepoStatus) Changed ¶
func (rs *RepoStatus) Changed() bool
reports externally if something has changed since the last time it was asked about it
func (*RepoStatus) CheckBranches ¶
func (rs *RepoStatus) CheckBranches() bool
func (*RepoStatus) CheckDirty ¶
func (rs *RepoStatus) CheckDirty() bool
func (*RepoStatus) CheckoutBranch ¶ added in v0.12.8
func (rs *RepoStatus) CheckoutBranch(branch string) (string, string)
func (*RepoStatus) DisableEverything ¶
func (rs *RepoStatus) DisableEverything()
disable all things besides Update() button
func (*RepoStatus) Draw ¶
func (rs *RepoStatus) Draw()
func (*RepoStatus) EnableMergeDevel ¶
func (rs *RepoStatus) EnableMergeDevel()
this means devel needs to be merged to master
func (*RepoStatus) EnableSelectTag ¶
func (rs *RepoStatus) EnableSelectTag()
this means you need to release a new version of the master repository
func (*RepoStatus) GetCurrentBranchName ¶
func (rs *RepoStatus) GetCurrentBranchName() string
func (*RepoStatus) GetCurrentBranchVersion ¶
func (rs *RepoStatus) GetCurrentBranchVersion() string
func (*RepoStatus) GetDevelName ¶
func (rs *RepoStatus) GetDevelName() string
func (*RepoStatus) GetDevelVersion ¶
func (rs *RepoStatus) GetDevelVersion() string
func (*RepoStatus) GetLastTagVersion ¶
func (rs *RepoStatus) GetLastTagVersion() string
func (*RepoStatus) GetMasterName ¶
func (rs *RepoStatus) GetMasterName() string
returns "master", "devel", os.Username, etc
func (*RepoStatus) GetMasterVersion ¶
func (rs *RepoStatus) GetMasterVersion() string
returns the git versions like "1.3-2-laksdjf" or whatever
func (*RepoStatus) GetPath ¶ added in v0.12.8
func (rs *RepoStatus) GetPath() string
func (*RepoStatus) GetUserName ¶
func (rs *RepoStatus) GetUserName() string
func (*RepoStatus) GetUserVersion ¶
func (rs *RepoStatus) GetUserVersion() string
func (*RepoStatus) Hide ¶
func (rs *RepoStatus) Hide()
func (*RepoStatus) Ready ¶
func (rs *RepoStatus) Ready() bool
func (*RepoStatus) SetDevelName ¶
func (rs *RepoStatus) SetDevelName(s string)
func (*RepoStatus) SetMasterName ¶
func (rs *RepoStatus) SetMasterName(s string)
func (*RepoStatus) SetSpeedActual ¶
func (ls *RepoStatus) SetSpeedActual(s string)
func (*RepoStatus) SetUserName ¶
func (rs *RepoStatus) SetUserName(s string)
func (*RepoStatus) Show ¶
func (rs *RepoStatus) Show()
func (*RepoStatus) Toggle ¶
func (rs *RepoStatus) Toggle()
func (*RepoStatus) Update ¶
func (rs *RepoStatus) Update()
Click to show internal directories.
Click to hide internal directories.