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

Function move_file

tools/link.py:2951–2960  ·  view source on GitHub ↗
(src, dst)

Source from the content-addressed store, hash-verified

2949
2950
2951def move_file(src, dst):
2952 logging.debug('move: %s -> %s', src, dst)
2953 check_output_file(dst)
2954 src = os.path.abspath(src)
2955 dst = os.path.abspath(dst)
2956 if src == dst:
2957 return
2958 if dst == os.devnull:
2959 return
2960 shutil.move(src, dst)
2961
2962
2963def binary_encode(filename):

Callers 1

phase_final_emittingFunction · 0.85

Calls 2

check_output_fileFunction · 0.85
moveMethod · 0.45

Tested by

no test coverage detected