Skip to main content

init_with_launch

Function init_with_launch 

Source
pub fn init_with_launch(path: impl AsRef<Path>) -> Result<Context, InitError>
Expand description

Pattern 2 — explicit-path variant of init_with_launch_auto.

Verifies the file exists (so misspelled paths fail fast at init time) but does NOT yet parse the XML; the launcher’s projected env is the active overlay. See the module-level notes for the follow-up plan.