summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/shell.go b/shell.go
index efb682d..3d15eee 100644
--- a/shell.go
+++ b/shell.go
@@ -6,7 +6,6 @@ import (
"os"
"path/filepath"
"strings"
- "time"
"github.com/go-cmd/cmd"
"go.wit.com/lib/gui/shell"
@@ -109,13 +108,3 @@ func (repo *Repo) IsDirectory() bool {
}
return info.IsDir()
}
-
-func (repo *Repo) mtime(filename string) (time.Time, error) {
- pathf := filepath.Join(repo.FullPath, filename)
- statf, err := os.Stat(pathf)
- if err == nil {
- return statf.ModTime(), nil
- }
- log.Log(GITPB, "mtime() os.Stat() error", pathf, err)
- return time.Now(), err
-}