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

Function copy_tree

system/lib/update_libunwind.py:33–39  ·  view source on GitHub ↗
(upstream_dir, local_dir)

Source from the content-addressed store, hash-verified

31
32
33def copy_tree(upstream_dir, local_dir):
34 for f in os.listdir(upstream_dir):
35 full = os.path.join(upstream_dir, f)
36 if os.path.isdir(full):
37 shutil.copytree(full, os.path.join(local_dir, f))
38 elif f not in excludes:
39 shutil.copy2(full, os.path.join(local_dir, f))
40
41
42def main():

Callers 1

mainFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected