aboutsummaryrefslogtreecommitdiffstats
path: root/repository/mock_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r--repository/mock_repo.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/repository/mock_repo.go b/repository/mock_repo.go
index b9cbe138..3f8555ee 100644
--- a/repository/mock_repo.go
+++ b/repository/mock_repo.go
@@ -10,6 +10,7 @@ import (
"github.com/99designs/keyring"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/go-git/go-billy/v5/memfs"
+ "github.com/go-git/go-git/v5/plumbing/transport/ssh"
"github.com/git-bug/git-bug/util/lamport"
)
@@ -252,6 +253,10 @@ func (r *mockRepoData) PushRefs(remote string, prefixes ...string) (string, erro
panic("implement me")
}
+func (r *mockRepoData) SSHAuth(remote string) (*ssh.PublicKeys, error) {
+ panic("implement me")
+}
+
func (r *mockRepoData) StoreData(data []byte) (Hash, error) {
rawHash := sha1.Sum(data)
hash := Hash(fmt.Sprintf("%x", rawHash))