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

Function is_create_scratch_available

objdiff-gui/src/jobs.rs:30–35  ·  view source on GitHub ↗
(config: &AppConfig)

Source from the content-addressed store, hash-verified

28pub fn egui_waker(ctx: &egui::Context) -> Waker { Waker::from(Arc::new(EguiWaker(ctx.clone()))) }
29
30pub fn is_create_scratch_available(config: &AppConfig) -> bool {
31 let Some(selected_obj) = &config.selected_obj else {
32 return false;
33 };
34 selected_obj.target_path.is_some() && selected_obj.scratch.is_some()
35}
36
37pub fn start_create_scratch(
38 ctx: &egui::Context,

Callers 1

pre_updateMethod · 0.85

Calls 1

is_someMethod · 0.80

Tested by

no test coverage detected