diff options
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repository/repo.go b/repository/repo.go index 8c76af5e..30d95806 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -83,6 +83,9 @@ type Repo interface { // UpdateRef will create or update a Git reference UpdateRef(ref string, hash Hash) error + // RemoveRef will remove a Git reference + RemoveRef(ref string) error + // ListRefs will return a list of Git ref matching the given refspec ListRefs(refspec string) ([]string, error) |