MCPcopy Index your code
hub / github.com/zai-org/CodeGeeX2 / create_tempdir

Function create_tempdir

evaluation/execution.py:431–434  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

429
430@contextlib.contextmanager
431def create_tempdir():
432 with tempfile.TemporaryDirectory() as dirname:
433 with chdir(dirname):
434 yield dirname
435
436
437class TimeoutException(Exception):

Callers 1

unsafe_executeFunction · 0.85

Calls 1

chdirFunction · 0.85

Tested by

no test coverage detected