diff options
| author | Jeff Carr <[email protected]> | 2024-12-02 05:15:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-02 05:15:39 -0600 |
| commit | 4b83d18db4fd84de5fa06cc00fe45d74d0feb458 (patch) | |
| tree | 158ca0bdf4aa81d06fb27850299e1c3be1882984 /goDep.redoGoMod.go | |
| parent | 425cb042b997e9243ea19ea82bfaa9ccce484a5c (diff) | |
notsurev0.0.18
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") |
