Skip to main content

detect_parser

Function detect_parser 

Source
pub fn detect_parser(path: &str, content: &str) -> ResolvedParser
Expand description

Detect the parser selection from file content. Examines up to the first 20 non-empty lines.