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

python
def should_ignore(path: str) -> bool

Parameters

ParamField str

Path to check (relative or absolute)

Returns

ResponseField bool

True if path should be ignored

Uses

  • basename

Source

View on GitHub

praisonaiagents/knowledge/indexing.py at line 205