@@ -7,7 +7,7 @@ use object_store::gcp::{GoogleCloudStorage, GoogleCloudStorageBuilder};
77use object_store:: local:: LocalFileSystem ;
88use object_store:: memory:: InMemory ;
99use object_store:: path:: Path ;
10- use object_store:: prefix:: PrefixObjectStore ;
10+ use object_store:: prefix:: PrefixStore ;
1111use object_store:: {
1212 ClientOptions , DynObjectStore , Error as ObjectStoreError , Result as ObjectStoreResult ,
1313 RetryConfig ,
@@ -58,11 +58,11 @@ enum ObjectStoreImpl {
5858impl ObjectStoreImpl {
5959 pub fn into_prefix ( self , prefix : Path ) -> Arc < DynObjectStore > {
6060 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) ) ,
6666 }
6767 }
6868
0 commit comments