feat: object tagging

Closes: #54
Signed-off-by: bestgopher <84328409@qq.com>
This commit is contained in:
bestgopher
2024-09-19 18:32:39 +08:00
parent 1a4498a58c
commit 3e34718bfe
4 changed files with 116 additions and 16 deletions
+11
View File
@@ -717,6 +717,17 @@ impl StorageAPI for ECStore {
unimplemented!()
}
async fn put_object_info(&self, bucket: &str, object: &str, info: ObjectInfo, opts: &ObjectOptions) -> Result<()> {
let object = utils::path::encode_dir_object(object);
if self.single_pool() {
return self.pools[0].put_object_info(bucket, object.as_str(), info, opts).await;
}
unimplemented!()
}
async fn get_object_reader(
&self,
bucket: &str,