|
OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
|
Interface for interacting with the pack service. More...
#include <services.hpp>
Public Member Functions | |
| virtual void | download (std::string const &packName, std::string const &destination) const =0 |
| Downloads a specified pack to a destination path. | |
| virtual std::string | get_digest (std::string const &packName) const =0 |
| Retrieves the digest of a specified pack. | |
| virtual int64_t | get_size (std::string const &packName) const =0 |
| Retrieves the size of a specified pack. | |
| virtual void | open (const IConnectionPtr &conn)=0 |
| Opens a connection to the pack service. | |
| virtual void | remove (std::string const &packName) const =0 |
| Removes a specified pack. | |
| virtual void | upload (std::string const &source, std::string const &packName) const =0 |
| Uploads a specified pack from a source path. | |
Interface for interacting with the pack service.
This interface provides methods for opening a connection to the pack service, retrieving pack data, and performing operations such as downloading, uploading, and removing packs.
|
pure virtual |
Downloads a specified pack to a destination path.
| packName | The name of the pack to download |
| destination | The destination path to download the pack to |
|
pure virtual |
Retrieves the digest of a specified pack.
| packName | The name of the pack to retrieve the digest for |
|
pure virtual |
Retrieves the size of a specified pack.
| packName | The name of the pack to retrieve the size for |
|
pure virtual |
Opens a connection to the pack service.
| conn | A shared pointer to an IConnection interface |
|
pure virtual |
Removes a specified pack.
| packName | The name of the pack to remove |
|
pure virtual |
Uploads a specified pack from a source path.
| source | The source path of the pack to upload |
| packName | The name of the pack to upload |