From File • AI Agent SDK
from_file: Load patterns from file.
from_file
Method
</div>
This is a method of the IgnoreMatcher class in the indexing module.
Load patterns from file.
Signature
def from_file(filepath: str) -> 'IgnoreMatcher'Parameters
ParamField
strPath to .praisonignore file
Returns
ResponseField
'IgnoreMatcher'IgnoreMatcher with loaded patterns
Uses
splitlinesf.readcls
Source
View on GitHubpraisonaiagents/knowledge/indexing.py at line 267