summaryrefslogtreecommitdiff
path: root/refs.sort.go
diff options
context:
space:
mode:
Diffstat (limited to 'refs.sort.go')
-rw-r--r--refs.sort.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.sort.go b/refs.sort.go
index 94d3124..b48bce5 100644
--- a/refs.sort.go
+++ b/refs.sort.go
@@ -72,7 +72,7 @@ func (r *Refs) SortByName() *RefIterator {
}
// enforces no duplicate package names
-func (r *Refs) Append(newP *Ref) bool {
+func (r *Repo) AppendRef(newP *Ref) bool {
refslock.Lock()
defer refslock.Unlock()