MCPcopy Create free account
hub / github.com/git-bug/git-bug / WithMeta

Function WithMeta

bridge/core/auth/options.go:54–61  ·  view source on GitHub ↗
(key string, val string)

Source from the content-addressed store, hash-verified

52}
53
54func WithMeta(key string, val string) ListOption {
55 return func(opts *listOptions) {
56 if opts.meta == nil {
57 opts.meta = make(map[string]string)
58 }
59 opts.meta[key] = val
60 }
61}

Callers 9

InitMethod · 0.92
promptTokenOptionsFunction · 0.92
cacheAllClientMethod · 0.92
InitMethod · 0.92
promptTokenOptionsFunction · 0.92
cacheAllClientMethod · 0.92
InitMethod · 0.92
promptCredOptionsFunction · 0.92
TestCredentialFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestCredentialFunction · 0.68