Skip to main content

file_section_length

Function file_section_length 

Source
pub fn file_section_length(path: &Path, section: &str) -> Option<usize>
Expand description

Performs file section length.

§Parameters

§Returns

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

§Examples

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