ComfyUI/app/assets/services
Luke Mino-Altherr 7f00f48c96 Consolidate hash functions into single implementation
Extract file open/seek/restore logic into _open_for_hashing context
manager and use a single hash loop in compute_blake3_hash for both
file paths and file objects.

Amp-Thread-ID: https://ampcode.com/threads/T-019ccb05-0db1-7206-8bd9-1c2efb898fef
Co-authored-by: Amp <amp@ampcode.com>
2026-03-07 17:29:12 -08:00
..
__init__.py Reduce duplication across assets module 2026-03-07 15:13:17 -08:00
asset_management.py feat: soft-delete for AssetReference with scanner persistence 2026-03-07 15:13:17 -08:00
bulk_ingest.py Fix asset API security and correctness issues 2026-03-07 15:13:17 -08:00
file_utils.py fix: follow symlinks in list_files_recursively with cycle detection 2026-03-07 15:13:17 -08:00
hashing.py Consolidate hash functions into single implementation 2026-03-07 17:29:12 -08:00
ingest.py Add checkpoint/interrupt support to BLAKE3 hashing 2026-03-07 15:13:17 -08:00
metadata_extract.py fix: support in-memory SQLite and ensure custom MIME types are initialized 2026-03-07 15:13:17 -08:00
path_utils.py Reduce duplication across assets module 2026-03-07 15:13:17 -08:00
schemas.py Reduce duplication across assets module 2026-03-07 15:13:17 -08:00
tagging.py Reduce duplication across assets module 2026-03-07 15:13:17 -08:00