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

Function _resolved

graphify/extract.py:13580–13586  ·  view source on GitHub ↗
(p: "str | Path")

Source from the content-addressed store, hash-verified

13578 _resolve_memo: dict[str, Path] = {}
13579
13580 def _resolved(p: "str | Path") -> Path:
13581 key = str(p)
13582 hit = _resolve_memo.get(key)
13583 if hit is None:
13584 hit = _resolve_cached(p)
13585 _resolve_memo[key] = hit
13586 return hit
13587
13588 def _walked(p: str | Path) -> Path:
13589 path = Path(os.path.abspath(p))

Callers 5

_stylesheet_file_sourcesFunction · 0.85
extractFunction · 0.85
_remappedFunction · 0.85
_decomposeFunction · 0.85
_sf_entryFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected