copyFromDisk method
Recursively copies a file or directory from a mounted diskId.
relativePath is inside the volume; destinationPath is absolute and must
not exist. Its parent must exist. Reject traversal out of the volume.
A failed copy can leave partial data; no overwrite or merge is performed.
Implementation
@override
Future<void> copyFromDisk(
String diskId, {
required String relativePath,
required String destinationPath,
}) =>
_operate<void>('copyFromDisk', diskId, arguments: {
'relativePath': relativePath,
'localPath': destinationPath,
});