MCPcopy
hub / github.com/deadc0de6/dotdrop / get_tmpdir

Function get_tmpdir

dotdrop/utils.py:116–125  ·  view source on GitHub ↗

create and return the temporary directory

()

Source from the content-addressed store, hash-verified

114
115
116def get_tmpdir():
117 """create and return the temporary directory"""
118# pylint: disable=W0603
119 global TMPDIR
120# pylint: enable=W0603
121 if TMPDIR:
122 return TMPDIR
123 tmp = _get_tmpdir()
124 TMPDIR = tmp
125 return tmp
126
127
128def _get_tmpdir():

Callers 4

cmd_installFunction · 0.90
_exec_commandFunction · 0.90
get_tmpfileFunction · 0.85
get_unique_tmp_nameFunction · 0.85

Calls 1

_get_tmpdirFunction · 0.85

Tested by

no test coverage detected