mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-16 04:49:35 +08:00
- Rename test_delete_upon_reference_count -> test_soft_delete_preserves_asset_identity_across_references; the old name implied last-ref cleanup, but it now verifies the opposite (soft delete preserves identity across references). - Strengthen the re-association assertion: also check asset_hash == src_hash so it proves content reuse rather than relying on the now-tautological created_new is False. - Document delete_asset_reference: the orphan-reclamation branch is intentionally internal-only; the public endpoint always soft-deletes. - Normalize the soft-delete comment phrasing. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asset_management.py | ||
| bulk_ingest.py | ||
| cursor.py | ||
| file_utils.py | ||
| hashing.py | ||
| image_dimensions.py | ||
| ingest.py | ||
| metadata_extract.py | ||
| path_utils.py | ||
| schemas.py | ||
| tagging.py | ||