Documentation ¶
Index ¶
- Constants
- func DecodeAutoDetect(src []byte) (string, error)
- func TuiStatusBar(text string) tview.Primitive
- func TuiTitleBar(text string) tview.Primitive
- type Config
- type ConfigRepos
- type SummaryLogRequest
- type SvnInfoXml
- type SvnLogXml
- type Tui
- func (t *Tui) BackScreen()
- func (t *Tui) ChangeScreen(repos string, screen string)
- func (t *Tui) CreateApp(repos string, screen string)
- func (t *Tui) NewTuiDiff(repos string, path string, rev string)
- func (t *Tui) NewTuiLog(repos string, path string)
- func (t *Tui) NewTuiRev(repos string, path string, rev string)
- func (t *Tui) NewTuiRoot()
- func (t *Tui) NewTuiTree(repos string, path string)
- func (t *Tui) Run() error
- func (t *Tui) SvnDiff(repos string, path string, rev string) string
- func (t *Tui) SvnInfo(url string) *SvnInfoXml
- func (t *Tui) SvnLog(repos string, path string, fromrev string, torev string, count int) *SvnLogXml
- func (t *Tui) SvnLogSummary(repos string, path string) *SvnLogXml
- func (t *Tui) SvnLs(repos string, path string) string
- func (t *Tui) SvnWorkerInit()
- func (t *Tui) TuiLogUpdateWorker(repos string, path string, table *tview.Table)
- func (t *Tui) TuiPanic(v string)
- func (t *Tui) TuiTreeUpdate(repos string, path string, table *tview.Table)
- func (t *Tui) TuiTreeUpdateSummary(ch chan SummaryLogRequest, repos string, path string, idx int, file string)
- func (t *Tui) TuiTreeUpdateSummaryWorker(ch chan SummaryLogRequest, table *tview.Table)
- type TuiScreen
Constants ¶
View Source
const DEBUG = false
Variables ¶
This section is empty.
Functions ¶
func DecodeAutoDetect ¶ added in v0.0.2
func TuiStatusBar ¶
func TuiTitleBar ¶
Types ¶
type Config ¶
type Config struct {
Repos map[string]ConfigRepos `yaml:"repos"`
}
type ConfigRepos ¶
type ConfigRepos struct {
Url string `yaml:"url"`
}
type SummaryLogRequest ¶
type SummaryLogRequest struct {
// contains filtered or unexported fields
}
type SvnInfoXml ¶
type SvnLogXml ¶
type SvnLogXml struct { Logentry []struct { Revision string `xml:"revision,attr"` Author string `xml:"author"` Date string `xml:"date"` Msg string `xml:"msg"` Path []struct { PropMods string `xml:"prop-mods,attr"` TextMods string `xml:"text-mods,attr"` Kind string `xml:"kind,attr"` Action string `xml:"action,attr"` CopyFromPath string `xml:"copyfrom-path,attr"` CopyFromRev string `xml:"copyfrom-rev,attr"` Path string `xml:",chardata"` } `xml:"paths>path"` } `xml:"logentry"` }
type Tui ¶
type Tui struct {
// contains filtered or unexported fields
}
func (*Tui) BackScreen ¶
func (t *Tui) BackScreen()
func (*Tui) ChangeScreen ¶
func (*Tui) NewTuiRoot ¶
func (t *Tui) NewTuiRoot()
func (*Tui) NewTuiTree ¶
func (*Tui) SvnInfo ¶
func (t *Tui) SvnInfo(url string) *SvnInfoXml
func (*Tui) SvnWorkerInit ¶
func (t *Tui) SvnWorkerInit()
func (*Tui) TuiLogUpdateWorker ¶
func (*Tui) TuiTreeUpdate ¶
func (*Tui) TuiTreeUpdateSummary ¶
func (*Tui) TuiTreeUpdateSummaryWorker ¶
func (t *Tui) TuiTreeUpdateSummaryWorker(ch chan SummaryLogRequest, table *tview.Table)
Click to show internal directories.
Click to hide internal directories.