MCPcopy Create free account
hub / github.com/cli/cli / ActiveUser

Method ActiveUser

pkg/cmd/auth/gitcredential/helper_test.go:27–29  ·  view source on GitHub ↗
(host string)

Source from the content-addressed store, hash-verified

25}
26
27func (c tinyConfig) ActiveUser(host string) (string, error) {
28 return c[fmt.Sprintf("%s:%s", host, "user")], nil
29}
30
31func Test_helperRun(t *testing.T) {
32 tests := []struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected