FileSystem.copy_file_range

Copy a range of data from one file to another.

Performs an optimized copy between two file descriptors without the additional cost of transferring data through the FUSE kernel module to user space (glibc) and then back into the FUSE filesystem again.

In case this method is not implemented, applications are expected to fall back to a regular file copy.

class FileSystem
@null
ssize_t
copy_file_range
(
string path_in
,,
off_t offset_in
,
string path_out
,,,
size_t size
,
int flags
)

Meta