feat(http): calculate updates' and uuids' dbs size

This commit is contained in:
Alexey Shekhirin 2021-04-09 15:41:24 +03:00
parent ae1655586c
commit adfdb99abc
No known key found for this signature in database
GPG key ID: AF9A26AA133B5B98
17 changed files with 121 additions and 25 deletions

View file

@ -46,6 +46,7 @@ pub trait UpdateActorHandle {
async fn delete(&self, uuid: Uuid) -> Result<()>;
async fn create(&self, uuid: Uuid) -> Result<()>;
async fn snapshot(&self, uuid: Uuid, path: PathBuf) -> Result<()>;
async fn get_size(&self, uuid: Uuid) -> Result<u64>;
async fn update(
&self,
meta: UpdateMeta,