Skip to main content

detect_version_from_file

Function detect_version_from_file 

Source
pub fn detect_version_from_file(
    path: &str,
) -> Result<ConfigVersion, ConfigError>
Expand description

Detects the configuration version from a file path.

Port of DetectVersionFromFile.