Should Ignore • AI Agent SDK
should_ignore: Check if path should be ignored.
should_ignore
Method
</div>
This is a method of the IgnoreMatcher class in the indexing module.
Check if path should be ignored.
Signature
def should_ignore(path: str) -> boolParameters
ParamField
strPath to check (relative or absolute)
Returns
ResponseField
boolTrue if path should be ignored
Uses
basename
Source
View on GitHubpraisonaiagents/knowledge/indexing.py at line 205