MCPcopy Index your code
hub / github.com/AI45Lab/Code / new

Method new

core/src/workspace/remote_git.rs:83–94  ·  view source on GitHub ↗
(base_url: impl Into<String>, repo_id: impl Into<String>)

Source from the content-addressed store, hash-verified

81
82impl RemoteGitBackendConfig {
83 pub fn new(base_url: impl Into<String>, repo_id: impl Into<String>) -> Self {
84 Self {
85 base_url: base_url.into(),
86 repo_id: repo_id.into(),
87 bearer_token: None,
88 client_cert_pem: None,
89 client_key_pem: None,
90 request_timeout: None,
91 max_diff_bytes: None,
92 max_log_entries: None,
93 }
94 }
95
96 pub fn bearer_token(mut self, token: impl Into<String>) -> Self {
97 self.bearer_token = Some(token.into());

Callers

nothing calls this directly

Calls 2

load_mtls_identityFunction · 0.85
buildMethod · 0.45

Tested by

no test coverage detected