from_directory
Method
This is a method of the IgnoreMatcher class in the indexing module.Auto-detect and load .praisonignore from directory. Also checks for .gitignore as fallback.
Signature
Parameters
str
required
Directory to search
Returns
'IgnoreMatcher'
IgnoreMatcher with loaded patterns
Uses
existssplitlinesf.readcls
Used By
Source
View on GitHub
praisonaiagents/knowledge/indexing.py at line 291
