Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
431
def
create_tempdir():
432
with
tempfile.TemporaryDirectory()
as
dirname:
433
with
chdir(dirname):
434
yield
dirname
435
436
437
class
TimeoutException(Exception):
Callers
1
unsafe_execute
Function · 0.85
Calls
1
chdir
Function · 0.85
Tested by
no test coverage detected