MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _hashable

Function _hashable

graphify/cache.py:2659–2664  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

2657 allowed_paths = {source_identity(str(path)) for path in allowed_source_files}
2658
2659 def _hashable(value) -> bool:
2660 try:
2661 hash(value)
2662 except TypeError:
2663 return False
2664 return True
2665
2666 dropped_files: set[str] = set()
2667 dropped_items = 0

Callers 1

scope_semantic_resultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected