Ignore Matcher • AI Agent SDK
IgnoreMatcher: Matcher for .praisonignore patterns.
IgnoreMatcher
Defined in the indexing module.
AI Agent
Matcher for .praisonignore patterns.
Supports gitignore-style patterns:
- * matches any sequence of characters
- ** matches any path segments
- ! negates a pattern
- # starts a comment
Constructor
ParamField
OptionalNo description available.
Methods
from_file()
Load patterns from file.
from_directory()Auto-detect and load .praisonignore from directory.
should_ignore()Check if path should be ignored.
Source
View on GitHubpraisonaiagents/knowledge/indexing.py at line 174