diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 20:48:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 20:48:23 -0600 |
| commit | bea54091d2901d00c03541be09f33ae29e72cde1 (patch) | |
| tree | 8d7e1257b88202532d59de35fd4d71a43c837544 /isPrimitive.go | |
| parent | 10cc012a125e80ffb95dbc28c99d443e4427a0ba (diff) | |
try to fix Current branch and version
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") |
