pub fn validate_format_version(file_version: &str) -> Result<(), Error>Expand description
Validate that a format version is compatible with the current version.
Compatibility rules:
- Major version must match exactly (breaking changes)
- Minor version can be higher (forward compatible)
- Minor version can be lower (backward compatible)
§Arguments
file_version- Version string from the loaded file (e.g., “1.0”)
§Returns
Returns Ok(()) if compatible, Error::IncompatibleFormatVersion otherwise.