pub fn pre_dispatch_read( path: &str, requested_mode: &str, task: Option<&str>, project_root: Option<&str>, ) -> PreDispatchResult