Function detect_file_format

Source
pub fn detect_file_format(file_path: &Path) -> FileFormat
Expand description

Detect file format based on extension and optionally file content