()
| 35 | } |
| 36 | |
| 37 | fn agent_fetch_options() -> git2::FetchOptions<'static> { |
| 38 | let remote_callbacks = agent_callbacks(); |
| 39 | let mut proxy_options = ProxyOptions::new(); |
| 40 | proxy_options.auto(); |
| 41 | let mut fetch_options = FetchOptions::new(); |
| 42 | fetch_options.remote_callbacks(remote_callbacks); |
| 43 | fetch_options.proxy_options(proxy_options); |
| 44 | |
| 45 | fetch_options |
| 46 | } |
| 47 | |
| 48 | fn builder() -> RepoBuilder<'static> { |
| 49 | let options = agent_fetch_options(); |
no test coverage detected