pub fn detect(path: &Path) -> Option<Format>
Detect the config format from path’s extension, or None if unrecognized.
path
None