MCPcopy Create free account
hub / github.com/elastic/devfiler / handle_executable_drops

Method handle_executable_drops

src/ui/tabs/executables.rs:79–90  ·  view source on GitHub ↗
(&mut self, ctx: &egui::Context)

Source from the content-addressed store, hash-verified

77
78impl ExecutablesTab {
79 fn handle_executable_drops(&mut self, ctx: &egui::Context) {
80 ctx.input(|i| {
81 self.ingest_queue
82 .extend(i.raw.dropped_files.iter().filter_map(|x| x.path.clone()))
83 });
84
85 if matches!(&self.active_ingest_task, Some(task) if task.done()) {
86 if let Err(e) = self.active_ingest_task.take().unwrap().join() {
87 tracing::error!("Executable ingestion failed: {e:?}")
88 }
89 }
90 }
91
92 fn draw_symbol_ingest_area(&mut self, ui: &mut Ui) {
93 let ingest_status = if let Some(ref active_task) = self.active_ingest_task {

Callers 1

updateMethod · 0.80

Calls 2

iterMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected