diff options
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/repository/repo.go b/repository/repo.go index c39051d5..3876a42f 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -7,8 +7,9 @@ import ( "github.com/ProtonMail/go-crypto/openpgp" "github.com/go-git/go-billy/v5" + "github.com/go-git/go-git/v5/plumbing/transport/ssh" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/lamport" ) var ( @@ -142,6 +143,9 @@ type RepoData interface { // the remote state. PushRefs(remote string, prefixes ...string) (string, error) + // SSHAuth will attempt to read public keys for SSH auth + SSHAuth(remote string) (*ssh.PublicKeys, error) + // StoreData will store arbitrary data and return the corresponding hash StoreData(data []byte) (Hash, error) |