From 208118ad5f78ce6e15da00753df491cfed771ce8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 13 Jan 2025 04:14:51 -0600 Subject: do mutex entries cause Marshal() to fail? --- repo.new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repo.new.go') 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() -- cgit v1.2.3