Skip to main content

classify_explicit_file_with_options

Function classify_explicit_file_with_options 

Source
pub fn classify_explicit_file_with_options(
    root: &Path,
    path: &Path,
    exclude_patterns: &[impl AsRef<str>],
    options: DiscoveryOptions,
) -> Option<FileClassification>
Expand description

Classify an explicitly requested file with discovery filters applied to that one path instead of walking the whole project root.