pub fn codec_for_path(path: &Path) -> Option<Arc<dyn Codec>>
Return a codec for path’s file extension, or None when the extension is missing or unrecognized.
path
None