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

Function setRefresher

pkg/cmd/auth/status/status_test.go:1141–1144  ·  view source on GitHub ↗
(t *testing.T, c gh.Config, r gh.TokenRefresher)

Source from the content-addressed store, hash-verified

1139}
1140
1141func setRefresher(t *testing.T, c gh.Config, r gh.TokenRefresher) {
1142 t.Helper()
1143 c.Authentication().(*config.AuthConfig).SetTokenRefresher(r)
1144}
1145
1146// replaceAll replaces all instances of old with new in s, as well as all instances
1147// of the JSON-escaped version of old with the JSON-escaped version of new.

Callers 1

Test_statusRunFunction · 0.70

Calls 3

HelperMethod · 0.65
SetTokenRefresherMethod · 0.65
AuthenticationMethod · 0.65

Tested by

no test coverage detected