mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-09 15:20:06 +00:00
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>