pub fn detect_kind(path: &Path, bytes: &[u8]) -> SourceKindExpand description
Best-effort source-kind detection from magic bytes first, extension second.
pub fn detect_kind(path: &Path, bytes: &[u8]) -> SourceKindBest-effort source-kind detection from magic bytes first, extension second.