From 4b83d18db4fd84de5fa06cc00fe45d74d0feb458 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 2 Dec 2024 05:15:39 -0600 Subject: notsure --- goDep.redoGoMod.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'goDep.redoGoMod.go') diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go index 91cad2f..1313039 100644 --- a/goDep.redoGoMod.go +++ b/goDep.redoGoMod.go @@ -40,7 +40,7 @@ func (repo *Repo) RedoGoMod() (bool, error) { if repo.Exists("go.sum") { // return the attempt to parse go.mod & go.sum - return repo.parseGoSum() + return repo.ParseGoSum() } repo.GoDeps = new(GoDeps) repo.GoPrimitive = false @@ -61,7 +61,8 @@ func (repo *Repo) RedoGoMod() (bool, error) { } // reads and parses the go.sum file -func (repo *Repo) parseGoSum() (bool, error) { +// does not change anything +func (repo *Repo) ParseGoSum() (bool, error) { // empty out what was there before repo.GoDeps = nil tmp := filepath.Join(repo.FullPath, "go.sum") -- cgit v1.2.3