Copy from one file to another using CopyFile2 (Windows only).
(source, target)
| 102 | |
| 103 | if _winapi and hasattr(_winapi, 'CopyFile2'): |
| 104 | def copyfile2(source, target): |
| 105 | """ |
| 106 | Copy from one file to another using CopyFile2 (Windows only). |
| 107 | """ |
| 108 | _winapi.CopyFile2(source, target, 0) |
| 109 | else: |
| 110 | copyfile2 = None |
| 111 |
no outgoing calls
no test coverage detected
searching dependent graphs…