(f *cmdutil.Factory)
| 186 | } |
| 187 | |
| 188 | func remotesFunc(f *cmdutil.Factory) func() (ghContext.Remotes, error) { |
| 189 | rr := &remoteResolver{ |
| 190 | readRemotes: func() (git.RemoteSet, error) { |
| 191 | return f.GitClient.Remotes(context.Background()) |
| 192 | }, |
| 193 | getConfig: f.Config, |
| 194 | } |
| 195 | return rr.Resolver() |
| 196 | } |
| 197 | |
| 198 | func HttpClientFunc(cfgFunc func() (gh.Config, error), ios *iostreams.IOStreams, appVersion string, invokingAgent string, telemetryDisabler ghtelemetry.Disabler) func() (*http.Client, error) { |
| 199 | return func() (*http.Client, error) { |
no test coverage detected