MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / new

Method new

src/app/mod.rs:207–211  ·  view source on GitHub ↗
(view: Box<dyn CompilerView>, counter: &mut u64)

Source from the content-addressed store, hash-verified

205 settings.apply(&cc.egui_ctx);
206 let workspace = startup
207 .document
208 .as_ref()
209 .and_then(|reference| reference_location(&reference.path))
210 .and_then(|location| location.preset.memory_workspace().ok())
211 .unwrap_or_else(|| open_startup_workspace(&settings));
212 let mut app = Self::with_workspace(workspace, settings);
213 if let Some(reference) = startup.document {
214 app.open_repository_reference(reference, startup.status);

Callers

nothing calls this directly

Calls 7

apply_ui_themeFunction · 0.85
ensure_consistencyMethod · 0.80
reset_layoutMethod · 0.80
apply_settingsMethod · 0.80
init_stdlib_cacheMethod · 0.80
set_errorMethod · 0.80
compileMethod · 0.45

Tested by

no test coverage detected