summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 18:45:34 -0600
committerJeff Carr <[email protected]>2025-01-07 18:45:34 -0600
commitd9a54a6c31770f13fd77aecd012e1158b6140616 (patch)
tree3448849bf60da011f4c2fda7ba0927efcbc8de0e /git.go
parent9221f83aaf06eb53b63f77a1e13887aad143e070 (diff)
still rm old code
Diffstat (limited to 'git.go')
-rw-r--r--git.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.go b/git.go
index c087f7e..8a8b79a 100644
--- a/git.go
+++ b/git.go
@@ -18,9 +18,11 @@ func (rs *RepoStatus) GetCurrentBranchVersion() string {
return rs.currentVersion.String()
}
+/*
func (rs *RepoStatus) LastGitPull() (time.Time, error) {
return rs.mtime(".git/FETCH_HEAD")
}
+*/
func (rs *RepoStatus) Age() time.Duration {
var t *Tag