Skip to main content

Function: calcIgnorePathGlobs()

calcIgnorePathGlobs(settings, root): Promise<GlobDef[]>

Defined in: packages/cspell-lib/src/lib/presets/ignorePathPresets.ts:22

Get the globs of the enabled ignorePathPresets, for a file search to skip.

Parameters​

settings​

CSpellSettings

the settings with ignorePathPresets.

root​

URL

the URL of the folder the presets apply to. The globs match only below it.

Returns​

Promise<GlobDef[]>

the globs to ignore.