MCPcopy
hub / github.com/encode/uvicorn / make_tmp_dir

Function make_tmp_dir

tests/conftest.py:195–200  ·  view source on GitHub ↗
(base_dir)

Source from the content-addressed store, hash-verified

193 ).hexdigest()
194
195 def make_tmp_dir(base_dir):
196 return TemporaryDirectory(
197 dir=str(base_dir),
198 prefix="p-",
199 suffix=f"-{hash_basetemp}",
200 )
201
202 paths = basetemp, os_tmp_dir, tmp_dir
203 for _num, tmp_dir_path in enumerate(paths, 1):

Callers 1

short_socket_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected