pub async fn copy(
storage_admin: StorageAdminProxy,
source_path: String,
destination_path: String,
) -> Result<()>
Expand description
Transfer a file between the host machine and the Fuchsia device. Can be used to upload a file to or from the Fuchsia device.
ยงArguments
storage_admin
: The StorageAdminProxy.source_path
: The path to a file on the host machine to be uploaded to the device or to a file on the device to be downloaded on the host machinedestination_path
: The path and filename on the target component or the host machine where to save the file