MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _get_default_tempdir

Function _get_default_tempdir

Lib/tempfile.py:176–212  ·  view source on GitHub ↗

Calculate the default directory to use for temporary files. This routine should be called exactly once. We determine whether or not a candidate temp dir is usable by trying to create and write to a file in that directory. If this is successful, the test file is deleted. To prevent

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gettempdirFunction · 0.85

Calls 8

_RandomNameSequenceClass · 0.85
_candidate_tempdir_listFunction · 0.85
nextMethod · 0.45
joinMethod · 0.45
openMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected