aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/bridges.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-04 22:05:34 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-08 17:19:57 +0100
commit646fd681ffba59d4a74ec3d99558d2ed70b0106b (patch)
tree377a8b82701690fa1648d393a39034e0b6a77539 /bridge/bridges.go
parentf515b9a1291ddd3e4fe1b43bf5891ab19569e33f (diff)
downloadgit-bug-646fd681ffba59d4a74ec3d99558d2ed70b0106b.tar.gz
it compiles \o/
Diffstat (limited to 'bridge/bridges.go')
-rw-r--r--bridge/bridges.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/bridge/bridges.go b/bridge/bridges.go
index a306fe5d..5d3066f9 100644
--- a/bridge/bridges.go
+++ b/bridge/bridges.go
@@ -21,6 +21,13 @@ func Targets() []string {
return core.Targets()
}
+// LoginMetaKey return the metadata key used to store the remote bug-tracker login
+// on the user identity. The corresponding value is used to match identities and
+// credentials.
+func LoginMetaKey(target string) (string, error) {
+ return core.LoginMetaKey(target)
+}
+
// Instantiate a new Bridge for a repo, from the given target and name
func NewBridge(repo *cache.RepoCache, target string, name string) (*core.Bridge, error) {
return core.NewBridge(repo, target, name)