From 53385d62c573e0e2ef67587099cce0144cf60b3c Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Mon, 13 Feb 2017 17:04:30 +0100 Subject: plumbing/storer: add RemoveReference --- storage/filesystem/reference.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'storage/filesystem/reference.go') diff --git a/storage/filesystem/reference.go b/storage/filesystem/reference.go index ee87830..cff00c9 100644 --- a/storage/filesystem/reference.go +++ b/storage/filesystem/reference.go @@ -26,3 +26,7 @@ func (r *ReferenceStorage) IterReferences() (storer.ReferenceIter, error) { return storer.NewReferenceSliceIter(refs), nil } + +func (r *ReferenceStorage) RemoveReference(n plumbing.ReferenceName) error { + return r.dir.RemoveRef(n) +} -- cgit