Skip to main content

detect_version_from_bytes

Function detect_version_from_bytes 

Source
pub fn detect_version_from_bytes(
    data: &[u8],
) -> Result<ConfigVersion, ConfigError>
Expand description

Detects the configuration version from raw YAML bytes.

Port of DetectVersionFromBytes.