shouldIgnoreFile
shouldIgnoreFile(
filePath,rootDir,customPatterns?,enabled?):boolean
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/aiignoreUtils.ts:50
Check if a file path should be ignored based on aiignore patterns
Parameters
Section titled “Parameters”filePath
Section titled “filePath”string
The file path to check
rootDir
Section titled “rootDir”string
The root directory for relative pattern matching
customPatterns?
Section titled “customPatterns?”string[] | undefined
Optional custom patterns to use instead of loading from file
enabled?
Section titled “enabled?”boolean = true
Whether aiignore is enabled
Returns
Section titled “Returns”boolean
True if the file should be ignored, false otherwise