pub fn import_runtime_state_file(
app_root: &Path,
runtime_conf_path: Option<&Path>,
app_id: Option<&str>,
state_path: &Path,
expected_audit_count: Option<&str>,
) -> i32Expand description
Imports a validated relational state file through the selected backend contract.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::import_runtime_state_file.runtime_conf_path: Input consumed bycrate::runtime::json_commands::import_runtime_state_file.app_id: Input consumed bycrate::runtime::json_commands::import_runtime_state_file.state_path: Input consumed bycrate::runtime::json_commands::import_runtime_state_file.expected_audit_count: Input consumed bycrate::runtime::json_commands::import_runtime_state_file.
§Returns
Returns the computed value produced by crate::runtime::json_commands::import_runtime_state_file.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::import_runtime_state_file(std::path::Path::new("apps/dev_docs"), todo!(), todo!(), todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.