Interface for pack operations, including opening connections and managing packs.
More...
|
| virtual void | download (std::string const &packName, std::string const &destination) const =0 |
| | Download the specified pack to the given destination.
|
| virtual std::string | get_digest (std::string const &packName) const =0 |
| | Get the digest of the specified pack.
|
| virtual int64_t | get_size (std::string const &packName) const =0 |
| | Get the size of the specified pack.
|
| virtual void | open (const IConnectionPtr &conn)=0 |
| | Open a connection using the specified IConnection pointer.
|
| virtual void | remove (std::string const &packName) const =0 |
| | Remove the specified pack.
|
| virtual void | upload (std::string const &source, std::string const &packName) const =0 |
| | Upload the specified source to the given pack.
|
Interface for pack operations, including opening connections and managing packs.
This abstract class defines the interface for pack operations in the sync container library. Implementations of this interface must provide methods to open connections, retrieve pack digests, get pack sizes, download and upload packs, and remove packs.