#include <remote_storage.h>
◆ ~RemoteStorageUploader()
virtual gs::RemoteStorageUploader::~RemoteStorageUploader |
( |
| ) |
|
|
virtualdefault |
◆ Close()
virtual Status gs::RemoteStorageUploader::Close |
( |
| ) |
|
|
pure virtual |
Close the remote storage.
◆ Delete()
virtual Status gs::RemoteStorageUploader::Delete |
( |
const std::string & |
remote_path | ) |
|
|
pure virtual |
Delete a file from the remote storage.
- Parameters
-
remote_path | The remote file path. |
- Returns
- Status
◆ Open()
virtual Status gs::RemoteStorageUploader::Open |
( |
| ) |
|
|
pure virtual |
Open a remote storage for writing.
- Returns
- Status
◆ Put()
virtual Status gs::RemoteStorageUploader::Put |
( |
const std::string & |
local_path, |
|
|
const std::string & |
remote_path, |
|
|
bool |
override = false |
|
) |
| |
|
pure virtual |
Put a local file to the remote storage.
- Parameters
-
local_path | The local file path. |
remote_path | The remote file path. |
override | If true, the file will be override if it exists. |
- Returns
- Status
- Note
- The local path could be a directory or a file.
The documentation for this class was generated from the following file: