pub fn prepare_app_artifact(
app_root: &Path,
app_id: &str,
build_dir_override: Option<&str>,
) -> Result<String, i32>Expand description
Prepares one app artifact tree for runtime loading.
§Parameters
app_root: Input consumed bycrate::runtime::prepare_app_artifact.app_id: Input consumed bycrate::runtime::prepare_app_artifact.build_dir_override: Input consumed bycrate::runtime::prepare_app_artifact.
§Returns
Returns the successful value produced by crate::runtime::prepare_app_artifact or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::prepare_app_artifact cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::prepare_app_artifact(std::path::Path::new("apps/dev_docs"), todo!(), todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.