libstore: remove Filetransfer::transfer
just use enqueueFileTransfer().get() insteaad. Change-Id: I67a43c9d3d5f68ac3f9e8ba7973c243dd78b86a3
This commit is contained in:
@@ -94,11 +94,6 @@ struct FileTransfer
|
||||
*/
|
||||
virtual std::future<FileTransferResult> enqueueFileTransfer(const FileTransferRequest & request) = 0;
|
||||
|
||||
/**
|
||||
* Synchronously transfer a file.
|
||||
*/
|
||||
FileTransferResult transfer(const FileTransferRequest & request);
|
||||
|
||||
/**
|
||||
* Download a file, returning its contents through a source. Will not return
|
||||
* before the transfer has fully started, ensuring that any errors thrown by
|
||||
|
||||
Reference in New Issue
Block a user