Port semantic_index
to gpui2
Co-Authored-By: Julia Risley <julia@zed.dev>
This commit is contained in:
parent
d433da1e70
commit
09db455db2
16 changed files with 4569 additions and 10 deletions
|
@ -7,7 +7,7 @@ pub enum ProviderCredential {
|
|||
NotNeeded,
|
||||
}
|
||||
|
||||
pub trait CredentialProvider {
|
||||
pub trait CredentialProvider: Send + Sync {
|
||||
fn has_credentials(&self) -> bool;
|
||||
fn retrieve_credentials(&self, cx: &mut AppContext) -> ProviderCredential;
|
||||
fn save_credentials(&self, cx: &mut AppContext, credential: ProviderCredential);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue