pub fn detect_format_from_path(path: &Path) -> Option<&'static str>
Detect configuration format from file path