diff options
| author | Jeff Carr <[email protected]> | 2024-02-20 06:54:11 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-20 06:54:11 -0600 |
| commit | d16cc92286616ab39926c21bb43dbfc3ec4e2486 (patch) | |
| tree | 333691fd24670d1be297a9543231c543b952e3d9 /gitConfig.go | |
| parent | ae7e9ba42c44687db038cacf7e0ae845e497f6e0 (diff) | |
first pass at cleaning up the go.* logic
Diffstat (limited to 'gitConfig.go')
| -rw-r--r-- | gitConfig.go | 24 |
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") } |
