fix: fixed reindexing of unchanged files, now uses last_modified stamp #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Had these unstaged changes, maybe I merged this
Important
Optimize indexing by using file modification timestamps to skip unchanged files, enhancing efficiency in
indexer.py
,cli.py
, andwatcher.py
.Indexer
now useslast_modified
timestamps to skip unchanged files during indexing inindexer.py
.collect_documents()
inindexer.py
checks for file modifications using stored timestamps.add_documents()
updates document metadata with current timestamps after indexing._normalize_timestamp()
and_compare_timestamps()
inindexer.py
for timestamp handling.collect_documents()
to includecheck_modified
parameter for skipping unchanged files.index()
incli.py
to use new document collection logic.watcher.py
to reflect changes in file processing.This description was created by
for 0b71d3c. It will automatically update as commits are pushed.