Skip to main content

read_lint_input

Function read_lint_input 

Source
pub fn read_lint_input(
    paths: &[PathBuf],
    respect_gitignore: bool,
) -> Result<Vec<LintInputSource>>
Expand description

Read lint input from files/directories or stdin.

Directory paths are expanded recursively and only .sql files are included. Direct file paths are always included (regardless of extension) for backwards compatibility.