MCPcopy Index your code
hub / github.com/zappa/Zappa / gettempdir

Function gettempdir

zappa/letsencrypt.py:440–449  ·  view source on GitHub ↗

Lazily creates a temporary directory in a secure manner. When Python exits, or the cleanup() function is called, the directory is erased.

()

Source from the content-addressed store, hash-verified

438
439
440def gettempdir():
441 """
442 Lazily creates a temporary directory in a secure manner. When Python exits,
443 or the cleanup() function is called, the directory is erased.
444 """
445 global __tempdir
446 if __tempdir is not None:
447 return __tempdir
448 __tempdir = tempfile.mkdtemp()
449 return __tempdir
450
451
452@atexit.register

Callers 11

create_domain_keyFunction · 0.85
create_domain_csrFunction · 0.85
parse_account_keyFunction · 0.85
parse_csrFunction · 0.85
sign_certificateFunction · 0.85
encode_certificateFunction · 0.85
_send_signed_requestFunction · 0.85
certifyMethod · 0.85

Calls

no outgoing calls

Tested by 1