Skip to main content

load_flag_state

Function load_flag_state 

Source
pub fn load_flag_state(
    path: &Path,
    root: &Path,
) -> Result<VendorExport, FlagStateError>
Expand description

Read and check the export at path.

ยงErrors

Returns an error when the file cannot be read, is larger than MAX_FLAG_STATE_BYTES, or does not match the schema.