Documentation ¶
Index ¶
- Variables
- func MyTicker(t time.Duration, name string, f func())
- func ReleaseReportHeader() string
- func ReportHeader() string
- func TimeFunction(f func()) time.Duration
- type ByName
- type RepoIterator
- type RepoList
- func (r *RepoList) AddRepo(pb *gitpb.Repo) (*RepoRow, error)
- func (rl *RepoList) AutotypistView(parent *gui.Node)
- func (b *RepoList) Disable()
- func (b *RepoList) Enable()
- func (r *RepoList) FindByName(name string) *RepoRow
- func (r *RepoList) FindByPath(path string) *RepoRow
- func (r *RepoList) FindRepo(path string) *RepoRow
- func (r *RepoList) Hidden() bool
- func (r *RepoList) Hide()
- func (rl *RepoList) MakeGoWork() error
- func (r *RepoList) RegisterHideFunction(f func(*RepoRow))
- func (r *RepoList) ReposAll() *RepoIterator
- func (r *RepoList) ReposSortByName() *RepoIterator
- func (r *RepoList) ScanRepositories() (int, string)
- func (r *RepoList) Show()
- func (rl *RepoList) Total() int
- func (r *RepoList) Watchdog(f func())
- type RepoRow
- func (r *RepoRow) CheckDirty() bool
- func (r *RepoRow) GetGoPath() string
- func (r *RepoRow) Hidden() bool
- func (r *RepoRow) Hide()
- func (r *RepoRow) IsBinary() bool
- func (r *RepoRow) IsDirty() bool
- func (r *RepoRow) IsPerfect() bool
- func (r *RepoRow) IsProtobuf() (bool, []string, error)
- func (r *RepoRow) LastTag() string
- func (rs *RepoRow) Name() string
- func (r *RepoRow) NewScan() int
- func (r *RepoRow) ReadOnly() bool
- func (r *RepoRow) RepoType() string
- func (r *RepoRow) Run(cmd []string) cmd.Status
- func (r *RepoRow) Scan() int
- func (r *RepoRow) Show()
- func (r *RepoRow) Show2()
- func (r *RepoRow) StandardHeader() string
- func (r *RepoRow) StandardReleaseHeader() string
- func (r *RepoRow) State() string
- func (r *RepoRow) UpdatePb(newpb *gitpb.Repo)
- func (rs *RepoRow) Xterm(cmdline string)
- func (rs *RepoRow) XtermNohup(cmdline string)
- func (rs *RepoRow) XtermWait(cmdline string)
Constants ¶
This section is empty.
Variables ¶
View Source
var REPO *log.LogFlag
View Source
var WARN *log.LogFlag
Functions ¶
func ReleaseReportHeader ¶ added in v0.22.5
func ReleaseReportHeader() string
func ReportHeader ¶ added in v0.22.5
func ReportHeader() string
func TimeFunction ¶
timeFunction takes a function as an argument and returns the execution time.
Types ¶
type RepoIterator ¶ added in v0.22.5
type RepoIterator struct {
// contains filtered or unexported fields
}
func NewRepoIterator ¶ added in v0.22.5
func NewRepoIterator(repos []*RepoRow) *RepoIterator
NewRepoIterator initializes a new iterator.
func (*RepoIterator) Repo ¶ added in v0.22.5
func (it *RepoIterator) Repo() *RepoRow
Repo returns the current repo.
func (*RepoIterator) Scan ¶ added in v0.22.5
func (it *RepoIterator) Scan() bool
Scan moves to the next element and returns false if there are no more repos.
type RepoList ¶
this app's variables
func (*RepoList) AddRepo ¶ added in v0.22.17
adds a gui row to the table based off the repo protobuf
func (*RepoList) AutotypistView ¶ added in v0.22.17
This creates a view of the repos you can only have one at this point
func (*RepoList) FindByName ¶ added in v0.22.16
better name: use this matches by path or by name
func (*RepoList) FindByPath ¶ added in v0.22.16
func (*RepoList) MakeGoWork ¶ added in v0.22.2
func (*RepoList) RegisterHideFunction ¶
func (*RepoList) ReposAll ¶ added in v0.22.5
func (r *RepoList) ReposAll() *RepoIterator
func (*RepoList) ReposSortByName ¶ added in v0.22.5
func (r *RepoList) ReposSortByName() *RepoIterator
func (*RepoList) ScanRepositories ¶
type RepoRow ¶ added in v0.20.10
type RepoRow struct { Status *repostatus.RepoStatus // contains filtered or unexported fields }
func (*RepoRow) CheckDirty ¶ added in v0.20.10
func (*RepoRow) IsProtobuf ¶ added in v0.22.17
func (*RepoRow) Name ¶ added in v0.20.10
returns a name for human consuption only todo: implement nicknames
func (*RepoRow) StandardHeader ¶ added in v0.22.5
makes a human readable thing for standard out. https://pkg.go.dev/fmt has good references for Sprintf
func (*RepoRow) StandardReleaseHeader ¶ added in v0.22.5
makes a human readable thing for standard out.
func (*RepoRow) XtermNohup ¶ added in v0.22.38
Click to show internal directories.
Click to hide internal directories.