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.