diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-20 23:13:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-20 23:13:33 +0100 |
commit | efe9ecf9a2b4d9346a1ae105210b4dabb26aa2a8 (patch) | |
tree | 7e4315a2a18a46cf691c19d5ae2e96eb84e96c18 /plumbing | |
parent | f5a9c7ed5ab58afa255c2f405b30f06f88a6aecf (diff) | |
parent | 53385d62c573e0e2ef67587099cce0144cf60b3c (diff) | |
download | go-git-efe9ecf9a2b4d9346a1ae105210b4dabb26aa2a8.tar.gz |
Merge pull request #269 from smola/remove-reference
plumbing/storer: add RemoveReference
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/storer/reference.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plumbing/storer/reference.go b/plumbing/storer/reference.go index 40474f9..692fe88 100644 --- a/plumbing/storer/reference.go +++ b/plumbing/storer/reference.go @@ -18,6 +18,7 @@ type ReferenceStorer interface { SetReference(*plumbing.Reference) error Reference(plumbing.ReferenceName) (*plumbing.Reference, error) IterReferences() (ReferenceIter, error) + RemoveReference(plumbing.ReferenceName) error } // ReferenceIter is a generic closable interface for iterating over references |