repostatus

package module
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

This is a simple example

Index

Constants

This section is empty.

Variables

View Source
var CHANGE *log.LogFlag
View Source
var INFO *log.LogFlag
View Source
var SPEW *log.LogFlag
View Source
var STATUS *log.LogFlag
View Source
var WARN *log.LogFlag

Functions

func IsDirectory

func IsDirectory(path string) bool

func VerifyLocalGoRepo

func VerifyLocalGoRepo(gorepo string) bool

Types

type RepoStatus

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

func New

func New(p *gui.Node, path string) *RepoStatus

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) 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) 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()

Jump to

Keyboard shortcuts

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