ComfyUI/app/assets/services
Luke Mino-Altherr 05f0052c73 Update existing asset references on overwritten output files
ingest_existing_file now detects when a reference already exists for the
path and updates mtime_ns, job_id, size_bytes, resets enrichment_level
and clears the asset hash so the enricher re-hashes the new content.

Only brand-new paths fall through to batch_insert_seed_assets.
register_output_files only increments its counter on actual insert or
update.

Amp-Thread-ID: https://ampcode.com/threads/T-019cfdf4-c52c-771c-a920-57bac15c68be
Co-authored-by: Amp <amp@ampcode.com>
2026-03-17 19:08:44 -07:00
..
__init__.py feat(assets): register output files as assets after prompt execution 2026-03-17 19:08:44 -07:00
asset_management.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
bulk_ingest.py fix: preserve user_metadata in ingest_existing_file instead of dropping it 2026-03-17 19:08:44 -07:00
file_utils.py
hashing.py
ingest.py Update existing asset references on overwritten output files 2026-03-17 19:08:44 -07:00
metadata_extract.py
path_utils.py
schemas.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
tagging.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00