MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / prepare_to_clean_temp

Function prepare_to_clean_temp

tools/shared.py:487–491  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

485
486 if not DEBUG_SAVE:
487 def prepare_to_clean_temp(d):
488 def clean_temp():
489 utils.delete_dir(d)
490
491 atexit.register(clean_temp)
492 # this global var might change later
493 prepare_to_clean_temp(EMSCRIPTEN_TEMP_DIR)
494 return EMSCRIPTEN_TEMP_DIR

Callers 1

get_emscripten_temp_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected