add remote support: delete_version,rename_part,delete_paths,update_metadata

Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
junxiang Mu
2024-09-26 15:08:17 +08:00
parent b0d3641b29
commit 4a11fa61ed
6 changed files with 933 additions and 1081 deletions
+1
View File
@@ -129,6 +129,7 @@ pub trait DiskAPI: Debug + Send + Sync + 'static {
async fn read_all(&self, volume: &str, path: &str) -> Result<Vec<u8>>;
}
#[derive(Debug, Serialize, Deserialize)]
pub struct UpdateMetadataOpts {
pub no_persistence: bool,
}