diff options
| author | Jeff Carr <[email protected]> | 2024-02-19 16:29:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-19 16:29:10 -0600 |
| commit | ae7e9ba42c44687db038cacf7e0ae845e497f6e0 (patch) | |
| tree | fe79e556726dd89e9aa21a2fb245b1d5c53579e8 /common.go | |
| parent | ad21d5d5db43b975e88067ff730691e89e10ea97 (diff) | |
allow more fields to be mirrored
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -192,3 +192,23 @@ func (rs *RepoStatus) MirrorCurrentVersion() *gui.Node { func (rs *RepoStatus) MirrorCurrentName() *gui.Node { return rs.currentBranch.MirrorValue() } + +func (rs *RepoStatus) MirrorGitState() *gui.Node { + return rs.gitState.MirrorValue() +} + +func (rs *RepoStatus) MirrorGoState() *gui.Node { + return rs.goSumStatus.MirrorValue() +} + +func (rs *RepoStatus) MirrorMasterVersion() *gui.Node { + return rs.mainBranchVersion.MirrorValue() +} + +func (rs *RepoStatus) MirrorDevelVersion() *gui.Node { + return rs.develBranchVersion.MirrorValue() +} + +func (rs *RepoStatus) MirrorUserVersion() *gui.Node { + return rs.userBranchVersion.MirrorValue() +} |
