diff options
Diffstat (limited to 'goDep.redoGoMod.go')
| -rw-r--r-- | goDep.redoGoMod.go | 5 |
1 files changed, 3 insertions, 2 deletions
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") |
