MCPcopy Index your code
hub / github.com/pex-tool/pex / cache

Function cache

tests/test_resolver.py:96–99  ·  view source on GitHub ↗
(directory)

Source from the content-addressed store, hash-verified

94
95@contextmanager
96def cache(directory):
97 # type: (str) -> Iterator[None]
98 with ENV.patch(PEX_ROOT=directory):
99 yield
100
101
102@contextmanager

Calls 1

patchMethod · 0.45

Tested by

no test coverage detected