@@ -7,7 +7,7 @@ use object_store::gcp::{GoogleCloudStorage, GoogleCloudStorageBuilder};
7
7
use object_store:: local:: LocalFileSystem ;
8
8
use object_store:: memory:: InMemory ;
9
9
use object_store:: path:: Path ;
10
- use object_store:: prefix:: PrefixObjectStore ;
10
+ use object_store:: prefix:: PrefixStore ;
11
11
use object_store:: {
12
12
ClientOptions , DynObjectStore , Error as ObjectStoreError , Result as ObjectStoreResult ,
13
13
RetryConfig ,
@@ -58,11 +58,11 @@ enum ObjectStoreImpl {
58
58
impl ObjectStoreImpl {
59
59
pub fn into_prefix ( self , prefix : Path ) -> Arc < DynObjectStore > {
60
60
match self {
61
- ObjectStoreImpl :: Local ( store) => Arc :: new ( PrefixObjectStore :: new ( store, prefix) ) ,
62
- ObjectStoreImpl :: InMemory ( store) => Arc :: new ( PrefixObjectStore :: new ( store, prefix) ) ,
63
- ObjectStoreImpl :: Azrue ( store) => Arc :: new ( PrefixObjectStore :: new ( store, prefix) ) ,
64
- ObjectStoreImpl :: S3 ( store) => Arc :: new ( PrefixObjectStore :: new ( store, prefix) ) ,
65
- ObjectStoreImpl :: Gcp ( store) => Arc :: new ( PrefixObjectStore :: new ( store, prefix) ) ,
61
+ ObjectStoreImpl :: Local ( store) => Arc :: new ( PrefixStore :: new ( store, prefix) ) ,
62
+ ObjectStoreImpl :: InMemory ( store) => Arc :: new ( PrefixStore :: new ( store, prefix) ) ,
63
+ ObjectStoreImpl :: Azrue ( store) => Arc :: new ( PrefixStore :: new ( store, prefix) ) ,
64
+ ObjectStoreImpl :: S3 ( store) => Arc :: new ( PrefixStore :: new ( store, prefix) ) ,
65
+ ObjectStoreImpl :: Gcp ( store) => Arc :: new ( PrefixStore :: new ( store, prefix) ) ,
66
66
}
67
67
}
68
68
0 commit comments