summaryrefslogtreecommitdiff
path: root/repo.new.go
diff options
context:
space:
mode:
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()