MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / fingerprint_inputs

Method fingerprint_inputs

conditioning_loader.py:67–70  ·  view source on GitHub ↗
(cls, file_name: str, device: str)

Source from the content-addressed store, hash-verified

65
66 @classmethod
67 def fingerprint_inputs(cls, file_name: str, device: str) -> str:
68 file_path = folder_paths.get_full_path("embeddings", file_name)
69 with open(file_path, "rb") as f:
70 return hashlib.sha256(f.read()).hexdigest()
71
72 @classmethod
73 def validate_inputs(cls, file_name: str, device: str) -> bool | str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected