fix: 去除anyhow提供的错误处理,统一使用自定义的Error和Result

This commit is contained in:
shiro.lee
2024-08-05 18:48:45 +08:00
parent a5f9b392ed
commit 7b8c11ecf3
18 changed files with 217 additions and 241 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
use anyhow::Result;
use http::HeaderMap;
use uuid::Uuid;
use crate::{
disk::format::{DistributionAlgoVersion, FormatV3},
disk::DiskStore,
endpoint::PoolEndpoints,
format::{DistributionAlgoVersion, FormatV3},
error::Result,
set_disk::SetDisks,
store_api::{
BucketInfo, BucketOptions, CompletePart, FileInfo, GetObjectReader, HTTPRangeSpec, MakeBucketOptions,