summaryrefslogtreecommitdiff
path: root/repo.new.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-13 04:14:51 -0600
committerJeff Carr <[email protected]>2025-01-13 04:14:51 -0600
commit208118ad5f78ce6e15da00753df491cfed771ce8 (patch)
tree964b810b68dcd9b9c3d449c6c766b20f69ac2718 /repo.new.go
parent4aa85a2f0f2e90e4df4cbf37857b800bb098c895 (diff)
do mutex entries cause Marshal() to fail?
Diffstat (limited to 'repo.new.go')
-rw-r--r--repo.new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo.new.go b/repo.new.go
index f229dcc..fa39dfa 100644
--- a/repo.new.go
+++ b/repo.new.go
@@ -49,7 +49,7 @@ func (all *Repos) NewGoRepo(fullpath string, gopath string) (*Repo, error) {
}
// enforces GoPath is unique
-func (all *Repos) AppendUniqueGoPath(newr *Repo) bool {
+func (all *Repos) AppendByGoPath(newr *Repo) bool {
all.Lock.RLock()
defer all.Lock.RUnlock()