MCPcopy Create free account
hub / github.com/ccxt/ccxt / get_temp_dir

Method get_temp_dir

python/ccxt/base/exchange.py:540–542  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

538 return False
539
540 def get_temp_dir(self):
541 tmp = os.path.realpath(tempfile.gettempdir())
542 return tmp if tmp.endswith(os.sep) else tmp + os.sep
543
544 def _ensure_whitelisted_file(self, file_path: str):
545 sanitized = os.path.realpath(file_path)

Callers 2

test_ioFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_ioFunction · 0.76