Skip to main content

detect

Function detect 

Source
pub fn detect(path: &Path) -> Option<Format>
Expand description

Detect the config format from path’s extension, or None if unrecognized.