diff options
Diffstat (limited to 'isPrimitive.go')
| -rw-r--r-- | isPrimitive.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isPrimitive.go b/isPrimitive.go index a632e1a..a3ecbba 100644 --- a/isPrimitive.go +++ b/isPrimitive.go @@ -18,7 +18,7 @@ import ( // deprecate use of IsPrimitive() to this function // this assumes go.mod and go.sum are in a releasable state func (repo *Repo) SetPrimitive() error { - _, err := repo.IsPrimitive() + _, err := repo.computePrimitive() return err } @@ -26,7 +26,7 @@ func (repo *Repo) SetPrimitive() error { // will return true if the repo is truly not dependent on _anything_ else // like spew or lib/widget // it assumes go mod ran init and tidy ran without error -func (repo *Repo) IsPrimitive() (bool, error) { +func (repo *Repo) computePrimitive() (bool, error) { // go mod init & go mod tidy ran without errors log.Log(GITPB, "isPrimativeGoMod()", repo.FullPath) tmp := filepath.Join(repo.FullPath, "go.mod") |
