detect_custom_format

Function detect_custom_format 

Source
pub fn detect_custom_format(
    file_path: &str,
    file_content: &str,
) -> Option<CustomFormat>
Expand description

Detect if a file is a custom format based on its content and extension. Returns the detected custom format if found, None otherwise.