Skip to main content

migration_checksum_matches

Function migration_checksum_matches 

Source
pub fn migration_checksum_matches(
    applied: bool,
    applied_checksum: Option<&str>,
    expected_checksum: Option<&str>,
) -> bool
Expand description

Checks whether an applied migration checksum matches any accepted checksum.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::migration_checksum_matches holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::migration_checksum_matches(todo!(), todo!(), todo!());