From bea54091d2901d00c03541be09f33ae29e72cde1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 20:48:23 -0600 Subject: try to fix Current branch and version --- isPrimitive.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'isPrimitive.go') 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") -- cgit v1.2.3