ComfyUI/app/assets
Luke Mino-Altherr 9016593586 Populate mime_type for assets in scanner and API paths
- Add custom MIME type registrations for model files (.safetensors, .pt, .ckpt, .gguf, .yaml)
- Pass mime_type through SeedAssetSpec to bulk_ingest
- Re-register types before use since server.py mimetypes.init() resets them
- Add tests for bulk ingest mime_type handling

Amp-Thread-ID: https://ampcode.com/threads/T-019c3626-c6ad-7139-a570-62da4e656a1a
Co-authored-by: Amp <amp@ampcode.com>
2026-02-24 11:34:44 -08:00
..
api Add optional blake3 hashing during asset scanning 2026-02-24 11:34:44 -08:00
database Fix FK constraint violation in bulk_ingest by filtering dropped assets 2026-02-24 11:34:44 -08:00
services Populate mime_type for assets in scanner and API paths 2026-02-24 11:34:44 -08:00
helpers.py refactor(assets): consolidate duplicated query utilities and remove unused code 2026-02-24 11:34:44 -08:00
scanner.py Populate mime_type for assets in scanner and API paths 2026-02-24 11:34:44 -08:00
seeder.py Add optional blake3 hashing during asset scanning 2026-02-24 11:34:44 -08:00