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

Function delete_profiler_logs

tools/emprofile.py:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18# Deletes all previously captured log files to make room for a new clean run.
19def delete_profiler_logs():
20 if os.path.exists(profiler_logs_path):
21 shutil.rmtree(profiler_logs_path)
22
23
24def list_files_in_directory(d):

Callers 1

mainFunction · 0.85

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected