MCPcopy Index your code
hub / github.com/algoscienceacademy/RustUI / update_progress

Method update_progress

src/dev_server.rs:408–413  ·  view source on GitHub ↗
(&self, current: u32, total: u32, message: &str)

Source from the content-addressed store, hash-verified

406 }
407
408 fn update_progress(&self, current: u32, total: u32, message: &str) {
409 if let Ok(mut status) = self.status.lock() {
410 status.progress = Some((current, total));
411 status.message = Some(message.to_string());
412 }
413 }
414
415 fn start_desktop_build(&mut self) -> Result<(), Box<dyn std::error::Error>> {
416 self.update_progress(0, 4, "Initializing desktop build...");

Callers 5

show_platform_setupMethod · 0.80
start_desktop_buildMethod · 0.80
start_ios_simulatorMethod · 0.80
start_web_serverMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected