ingest_existing_file cleared the asset hash and enrichment level for every existing reference it saw, including files that had not changed since they were registered. Generated outputs are hashed as they are produced and then re-registered once the prompt finishes, so that second pass discarded a hash that had just been computed. Compare the recorded mtime and size against the file on disk and only reset the content state when the file has actually been rewritten. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_asset_management.py | ||
| test_asset_response_loader_path.py | ||
| test_bulk_ingest.py | ||
| test_cursor.py | ||
| test_enrich.py | ||
| test_image_dimensions.py | ||
| test_ingest.py | ||
| test_path_utils.py | ||
| test_tag_histogram.py | ||
| test_tagging.py | ||