Skip to main content

handle_file_field_string_command

Function handle_file_field_string_command 

Source
pub fn handle_file_field_string_command(
    path: &Path,
    field: &str,
) -> Option<String>
Expand description

Handles file field string command.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::handle_file_field_string_command can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_file_field_string_command(std::path::Path::new("fixture.json"), "field");