(base_url: impl Into<String>, repo_id: impl Into<String>)
| 81 | |
| 82 | impl 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()); |
nothing calls this directly
no test coverage detected