MCPcopy Create free account
hub / github.com/brocode/fw / agent_fetch_options

Function agent_fetch_options

src/git/mod.rs:37–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37fn 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
48fn builder() -> RepoBuilder<'static> {
49 let options = agent_fetch_options();

Callers 2

builderFunction · 0.85
update_remoteFunction · 0.85

Calls 1

agent_callbacksFunction · 0.85

Tested by

no test coverage detected