MCPcopy Index your code
hub / github.com/RustPython/RustPython / copyfile2

Function copyfile2

Lib/pathlib/_os.py:105–109  ·  view source on GitHub ↗

Copy from one file to another using CopyFile2 (Windows only).

(source, target)

Source from the content-addressed store, hash-verified

103
104if _winapi and hasattr(_winapi, 'CopyFile2'):
105 def copyfile2(source, target):
106 """
107 Copy from one file to another using CopyFile2 (Windows only).
108 """
109 _winapi.CopyFile2(source, target, 0)
110else:
111 copyfile2 = None
112

Callers 1

_copy_from_fileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected