Skip to main content

native_file_signature

Function native_file_signature 

Source
pub fn native_file_signature(path: &Path) -> Option<String>
Expand description

Returns a stable file signature based on metadata and content hash.

§Parameters

§Returns

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

§Examples

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