filterIgnoredFiles
filterIgnoredFiles(
filePaths,rootDir,customPatterns?,enabled?):string[]
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/aiignoreUtils.ts:168
Filter an array of file paths based on aiignore patterns
Parameters
Section titled “Parameters”filePaths
Section titled “filePaths”string[]
Array of file paths to filter
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”string[]
Filtered array of file paths that should not be ignored