UNPKG

cspell

Version:

A Spelling Checker for Code!

10 lines (9 loc) 500 B
import Uri from 'vscode-uri'; export declare type ExclusionFunction = (filename: string) => boolean; export declare type Glob = string; export interface ExcludeFilesGlobMap { [glob: string]: boolean; } export declare function extractGlobsFromExcludeFilesGlobMap(globMap: ExcludeFilesGlobMap): string[]; export declare function pathToUri(filePath: string): Uri; export declare function generateExclusionFunctionForUri(globs: Glob[], root: string, allowedSchemes?: Set<string>): ExclusionFunction;