MCPcopy Index your code
hub / github.com/encounter/objdiff / post_update

Method post_update

objdiff-gui/src/views/config.rs:110–126  ·  view source on GitHub ↗
(&mut self, ctx: &egui::Context, jobs: &mut JobQueue, state: &AppStateRef)

Source from the content-addressed store, hash-verified

108 }
109
110 pub fn post_update(&mut self, ctx: &egui::Context, jobs: &mut JobQueue, state: &AppStateRef) {
111 if self.queue_build {
112 self.queue_build = false;
113 if let Ok(mut state) = state.write() {
114 state.queue_build = true;
115 }
116 }
117
118 if self.queue_check_update {
119 self.queue_check_update = false;
120 start_check_update(ctx, jobs);
121 }
122
123 if let Some(bin_name) = self.queue_update.take() {
124 start_update(ctx, jobs, bin_name);
125 }
126 }
127}
128
129#[cfg(all(windows, feature = "wsl"))]

Callers

nothing calls this directly

Calls 3

start_check_updateFunction · 0.50
start_updateFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected