Skip to main content

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

Optional
No 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 GitHub

praisonaiagents/knowledge/indexing.py at line 179