Skip to main content

infer_script_language

Function infer_script_language 

Source
pub fn infer_script_language(path: &Path) -> Result<String, CamelError>
Expand description

Infer the language registry key for a script file from its extension.

The extension match is case-sensitive. Relative paths are resolved against the process current working directory for diagnostics.