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