diff options
| author | Jeff Carr <[email protected]> | 2025-01-07 19:29:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-07 19:29:46 -0600 |
| commit | f53f1256f184c0cddb565eebb7ecb2f8f1e079d3 (patch) | |
| tree | 9e3320add93eb2ed3d8ff008d261be0e9d697ae8 /mirror.go | |
| parent | 4efbead37c944b89a63b0c8d89325541d0392c3f (diff) | |
more rm old code
Diffstat (limited to 'mirror.go')
| -rw-r--r-- | mirror.go | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/mirror.go b/mirror.go deleted file mode 100644 index e81c71c..0000000 --- a/mirror.go +++ /dev/null @@ -1,42 +0,0 @@ -package repostatus - -import ( - "go.wit.com/gui" - // "go.wit.com/gui/gui" -) - -// this is experiemental work on making 'View's or Table Row's -// this may or may not be a good idea - -// returns a widget of the last tag that acts as a mirror -func (rs *RepoStatus) MirrorLastTag() *gui.Node { - return rs.lasttag.MirrorValue() -} - -func (rs *RepoStatus) MirrorTargetVersion() *gui.Node { - return rs.targetReleaseVersion.MirrorValue() -} - -func (rs *RepoStatus) MirrorCurrentVersion() *gui.Node { - return rs.currentVersion.MirrorValue() -} - -func (rs *RepoStatus) MirrorCurrentName() *gui.Node { - return rs.currentBranch.MirrorValue() -} - -func (rs *RepoStatus) MirrorGitState() *gui.Node { - return rs.gitState.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() -} |
