From 17e2ec8f5679c1ba7ae2ea45290e9303beb3c227 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 23 Jul 2018 00:04:46 +0200 Subject: bug: refactor to limit abstraction leak and to have a more reusable code for the UIs --- repository/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repository/repo.go') diff --git a/repository/repo.go b/repository/repo.go index 7ba8a8b5..6ab7be91 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -22,10 +22,10 @@ type Repo interface { GetCoreEditor() (string, error) // FetchRefs fetch git refs from a remote - FetchRefs(remote string, refPattern string, remoteRefPattern string) error + FetchRefs(remote string, refSpec string) error // PushRefs push git refs to a remote - PushRefs(remote string, refPattern string) error + PushRefs(remote string, refSpec string) error // StoreData will store arbitrary data and return the corresponding hash StoreData(data []byte) (util.Hash, error) -- cgit