Check if a file path should be ignored based on aiignore patterns
The file path to check
The root directory for relative pattern matching
Optional custom patterns to use instead of loading from file
Whether aiignore is enabled
True if the file should be ignored, false otherwise
Check if a file path should be ignored based on aiignore patterns