#include <remote_storage.h>
◆ ~RemoteStorageDownloader()
virtual gs::RemoteStorageDownloader::~RemoteStorageDownloader |
( |
| ) |
|
|
virtualdefault |
◆ Close()
virtual Status gs::RemoteStorageDownloader::Close |
( |
| ) |
|
|
pure virtual |
Close the remote storage.
◆ Get()
virtual Status gs::RemoteStorageDownloader::Get |
( |
const std::string & |
remote_path, |
|
|
const std::string & |
local_path |
|
) |
| |
|
pure virtual |
Get a file from the remote storage.
- Parameters
-
remote_path | The remote file path. |
local_path | The local file path. |
- Returns
- Status
◆ List()
virtual Status gs::RemoteStorageDownloader::List |
( |
const std::string & |
remote_path, |
|
|
std::vector< std::string > & |
files |
|
) |
| |
|
pure virtual |
List all files in the remote storage.
- Parameters
-
remote_path | The remote path. |
files | The files in the remote path. |
- Returns
- Status
◆ Open()
virtual Status gs::RemoteStorageDownloader::Open |
( |
| ) |
|
|
pure virtual |
Open a remote storage for reading.
- Parameters
-
uri | The uri of the remote storage. |
- Returns
- Status
The documentation for this class was generated from the following file: