summaryrefslogtreecommitdiff
path: root/gitConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'gitConfig.go')
-rw-r--r--gitConfig.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/gitConfig.go b/gitConfig.go
index 2f70773..e49c2b7 100644
--- a/gitConfig.go
+++ b/gitConfig.go
@@ -214,30 +214,6 @@ func (rs *RepoStatus) GitLsFiles() (bool, string) {
return true, output
}
-func ScanGoSrc() {
- log.Log(WARN, "Scanning all go.sum files")
- for path, rs := range windowMap {
- if rs.ReadGoMod() {
- // everything is ok
- } else {
- log.Log(WARN, "failed reading go.sum repo:", path)
- }
- }
-}
-
-func (rs *RepoStatus) ScanGoSrc() {
- if rs.ReadGoMod() {
- log.Log(INFO, "parsed go.mod", rs.realPath.String())
- } else {
- log.Log(WARN, "Something went wrong parsing go.mod", rs.realPath.String())
- }
-
- log.Log(WARN, "go.sum:", rs.realPath.String())
- for depname, version := range rs.goConfig {
- log.Log(WARN, " ", depname, version)
- }
-}
-
func (rs *RepoStatus) Writable() {
rs.readOnly.SetText("false")
}