Start asking Editors to update git after a debounced delay

This commit is contained in:
Julia 2022-08-30 16:29:20 -04:00
parent 2a14af4cde
commit 6fa2e62fa4
2 changed files with 115 additions and 26 deletions

View file

@ -478,6 +478,15 @@ impl Item for Editor {
})
}
fn update_git(
&mut self,
_project: ModelHandle<Project>,
_cx: &mut ViewContext<Self>,
) -> Task<Result<()>> {
println!("Editor::update_git");
Task::ready(Ok(()))
}
fn to_item_events(event: &Self::Event) -> Vec<workspace::ItemEvent> {
let mut result = Vec::new();
match event {