… | |
… | |
565 | |
565 | |
566 | Try to copy the I<file> (directories not supported as either source or |
566 | Try to copy the I<file> (directories not supported as either source or |
567 | destination) from C<$srcpath> to C<$dstpath> and call the callback with |
567 | destination) from C<$srcpath> to C<$dstpath> and call the callback with |
568 | the C<0> (error) or C<-1> ok. |
568 | the C<0> (error) or C<-1> ok. |
569 | |
569 | |
570 | This is a composite request that it creates the destination file with |
570 | This is a composite request that creates the destination file with |
571 | mode 0200 and copies the contents of the source file into it using |
571 | mode 0200 and copies the contents of the source file into it using |
572 | C<aio_sendfile>, followed by restoring atime, mtime, access mode and |
572 | C<aio_sendfile>, followed by restoring atime, mtime, access mode and |
573 | uid/gid, in that order. |
573 | uid/gid, in that order. |
574 | |
574 | |
575 | If an error occurs, the partial destination file will be unlinked, if |
575 | If an error occurs, the partial destination file will be unlinked, if |