pub fn detect_version_from_bytes(
data: &[u8],
) -> Result<ConfigVersion, ConfigError>Expand description
Detects the configuration version from raw YAML bytes.
Port of DetectVersionFromBytes.
pub fn detect_version_from_bytes(
data: &[u8],
) -> Result<ConfigVersion, ConfigError>Detects the configuration version from raw YAML bytes.
Port of DetectVersionFromBytes.