ComfyUI/app/assets/services
Luke Mino-Altherr 92e03fbc21 Fix is_missing state updates for asset cache states on startup
- Add bulk_update_is_missing() to efficiently update is_missing flag
- Update sync_cache_states_with_filesystem() to mark non-existent files as is_missing=True
- Call restore_cache_states_by_paths() in batch_insert_seed_assets() to restore
  previously-missing states when files reappear during scanning

Amp-Thread-ID: https://ampcode.com/threads/T-019c3177-e591-7666-ac6b-7e05c71c8ebf
Co-authored-by: Amp <amp@ampcode.com>
2026-02-24 11:34:44 -08:00
..
__init__.py feat: non-destructive asset pruning with is_missing flag 2026-02-24 11:34:44 -08:00
asset_management.py refactor(assets): consolidate duplicated query utilities and remove unused code 2026-02-24 11:34:44 -08:00
bulk_ingest.py Fix is_missing state updates for asset cache states on startup 2026-02-24 11:34:44 -08:00
file_utils.py refactor(assets): extract scanner logic into service modules 2026-02-24 11:34:44 -08:00
hashing.py refactor: require blake3 package directly in hashing module 2026-02-24 11:34:44 -08:00
ingest.py Make ingest_file_from_path and register_existing_asset private 2026-02-24 11:34:44 -08:00
metadata_extract.py Make ingest_file_from_path and register_existing_asset private 2026-02-24 11:34:44 -08:00
path_utils.py refactor(assets): consolidate duplicated query utilities and remove unused code 2026-02-24 11:34:44 -08:00
schemas.py refactor: eliminate manager layer, routes call services directly 2026-02-24 11:34:44 -08:00
tagging.py refactor: add explicit types to asset service functions 2026-02-24 11:34:44 -08:00