pub fn handle_runtime_command_direct(
verb: &str,
config_record: &mut ServeConfig,
repo_root: Option<&Path>,
binary_dir: Option<&Path>,
) -> Result<String, &'static str>Expand description
Handles one top-level runtime command directly.
§Parameters
verb: Input consumed bycrate::runtime::handle_runtime_command_direct.config_record: Input consumed bycrate::runtime::handle_runtime_command_direct.repo_root: Input consumed bycrate::runtime::handle_runtime_command_direct.binary_dir: Input consumed bycrate::runtime::handle_runtime_command_direct.
§Returns
Returns the successful value produced by crate::runtime::handle_runtime_command_direct or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::handle_runtime_command_direct cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::handle_runtime_command_direct.
§Examples
ⓘ
let _result = pharos_native::runtime::handle_runtime_command_direct(todo!(), todo!(), std::path::Path::new("."), std::path::Path::new("bin"));§Related
crate::runtimefor adjacent helpers that share the same runtime surface.