Skip to main content

handle_runtime_app_command_direct

Function handle_runtime_app_command_direct 

Source
pub fn handle_runtime_app_command_direct(
    verb: &str,
    config_record: &mut ServeConfig,
    repo_root: Option<&Path>,
    binary_dir: Option<&Path>,
) -> Result<String, &'static str>
Expand description

Handles one app-targeted runtime command directly.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::handle_runtime_app_command_direct or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::handle_runtime_app_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_app_command_direct.

§Examples

ⓘ
let _result = pharos_native::runtime::handle_runtime_app_command_direct(todo!(), todo!(), std::path::Path::new("."), std::path::Path::new("bin"));
  • crate::runtime for adjacent helpers that share the same runtime surface.