io.directories.windows: remove synchronous copy-file implementation
parent
801c70e9da
commit
ef29e0947f
|
@ -36,10 +36,6 @@ M: windows delete-file ( path -- )
|
||||||
[ (delete-file) ]
|
[ (delete-file) ]
|
||||||
[ \ file-delete-failed boa rethrow ] recover ;
|
[ \ file-delete-failed boa rethrow ] recover ;
|
||||||
|
|
||||||
M: windows copy-file ( from to -- )
|
|
||||||
make-parent-directories
|
|
||||||
[ normalize-path ] bi@ 0 CopyFile win32-error=0/f ;
|
|
||||||
|
|
||||||
M: windows make-directory ( path -- )
|
M: windows make-directory ( path -- )
|
||||||
normalize-path
|
normalize-path
|
||||||
f CreateDirectory win32-error=0/f ;
|
f CreateDirectory win32-error=0/f ;
|
||||||
|
|
Loading…
Reference in New Issue