pub fn select_mode_with_task( cache: &SessionCache, path: &str, task: Option<&str>, ) -> String
Delegates to the unified auto_mode_resolver::resolve().
auto_mode_resolver::resolve()