Has Changed • AI Agent SDK
has_changed: Check if file has changed since last indexing.
has_changed
Method
</div>
This is a method of the FileTracker class in the indexing module.
Check if file has changed since last indexing.
Signature
def has_changed(filepath: str) -> boolParameters
ParamField
strPath to file
Returns
ResponseField
boolTrue if file is new or changed
Uses
get_file_info
Source
View on GitHubpraisonaiagents/knowledge/indexing.py at line 387