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

Function _resolved_key

graphify/cache.py:527–533  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

525
526
527def _resolved_key(path: Path) -> str:
528 raw = str(path)
529 got = _RESOLVED_KEY_MEMO.get(raw)
530 if got is None:
531 got = str(_normalize_path(_resolve_cached(path)))
532 _RESOLVED_KEY_MEMO[raw] = got
533 return got
534
535
536def _normalize_path(path: Path) -> Path:

Callers 2

cached_word_countFunction · 0.85

Calls 2

_normalize_pathFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected