(f *cmdutil.Factory)
| 176 | } |
| 177 | |
| 178 | func remotesFunc(f *cmdutil.Factory) func() (ghContext.Remotes, error) { |
| 179 | rr := &remoteResolver{ |
| 180 | readRemotes: func() (git.RemoteSet, error) { |
| 181 | return f.GitClient.Remotes(context.Background()) |
| 182 | }, |
| 183 | getConfig: f.Config, |
| 184 | } |
| 185 | return rr.Resolver() |
| 186 | } |
| 187 | |
| 188 | func HttpClientFunc(cfgFunc func() (gh.Config, error), ios *iostreams.IOStreams, appVersion string, invokingAgent string, telemetryDisabler ghtelemetry.Disabler) func() (*http.Client, error) { |
| 189 | return func() (*http.Client, error) { |
no test coverage detected