Skip to content

Commit

Permalink
Fix use
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Dec 5, 2024
1 parent 81f829c commit 0fe3679
Show file tree
Hide file tree
Showing 35 changed files with 70 additions and 66 deletions.
3 changes: 2 additions & 1 deletion core/src/services/aliyun_drive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ mod core;
#[cfg(feature = "services-aliyun-drive")]
mod backend;
#[cfg(feature = "services-aliyun-drive")]
mod delete;
#[cfg(feature = "services-aliyun-drive")]
mod error;
#[cfg(feature = "services-aliyun-drive")]
mod lister;
Expand All @@ -30,6 +32,5 @@ mod writer;
pub use backend::AliyunDriveBuilder as AliyunDrive;

mod config;
mod delete;

pub use config::AliyunDriveConfig;
3 changes: 2 additions & 1 deletion core/src/services/alluxio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-alluxio")]
mod core;
#[cfg(feature = "services-alluxio")]
mod delete;
#[cfg(feature = "services-alluxio")]
mod error;
#[cfg(feature = "services-alluxio")]
mod lister;
Expand All @@ -30,6 +32,5 @@ mod backend;
pub use backend::AlluxioBuilder as Alluxio;

mod config;
mod delete;

pub use config::AlluxioConfig;
4 changes: 2 additions & 2 deletions core/src/services/azblob/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-azblob")]
mod core;
#[cfg(feature = "services-azblob")]
mod delete;
#[cfg(feature = "services-azblob")]
mod error;
#[cfg(feature = "services-azblob")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::AzblobBuilder as Azblob;

mod config;
mod delete;

pub use config::AzblobConfig;
4 changes: 2 additions & 2 deletions core/src/services/azdls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-azdls")]
mod core;
#[cfg(feature = "services-azdls")]
mod delete;
#[cfg(feature = "services-azdls")]
mod error;
#[cfg(feature = "services-azdls")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::AzdlsBuilder as Azdls;

mod config;
mod delete;

pub use config::AzdlsConfig;
3 changes: 2 additions & 1 deletion core/src/services/azfile/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-azfile")]
mod core;
#[cfg(feature = "services-azfile")]
mod delete;
#[cfg(feature = "services-azfile")]
mod error;
#[cfg(feature = "services-azfile")]
mod lister;
Expand All @@ -30,6 +32,5 @@ mod backend;
pub use backend::AzfileBuilder as Azfile;

mod config;
mod delete;

pub use config::AzfileConfig;
3 changes: 2 additions & 1 deletion core/src/services/b2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-b2")]
mod core;
#[cfg(feature = "services-b2")]
mod delete;
#[cfg(feature = "services-b2")]
mod error;
#[cfg(feature = "services-b2")]
mod lister;
Expand All @@ -30,6 +32,5 @@ mod backend;
pub use backend::B2Builder as B2;

mod config;
mod delete;

pub use config::B2Config;
4 changes: 2 additions & 2 deletions core/src/services/chainsafe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-chainsafe")]
mod core;
#[cfg(feature = "services-chainsafe")]
mod delete;
#[cfg(feature = "services-chainsafe")]
mod error;
#[cfg(feature = "services-chainsafe")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::ChainsafeBuilder as Chainsafe;

mod config;
mod delete;

pub use config::ChainsafeConfig;
4 changes: 2 additions & 2 deletions core/src/services/compfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-compfs")]
mod core;
#[cfg(feature = "services-compfs")]
mod delete;
#[cfg(feature = "services-compfs")]
mod lister;
#[cfg(feature = "services-compfs")]
mod reader;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::CompfsBuilder as Compfs;

mod config;
mod delete;

pub use config::CompfsConfig;
3 changes: 2 additions & 1 deletion core/src/services/cos/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-cos")]
mod core;
#[cfg(feature = "services-cos")]
mod delete;
#[cfg(feature = "services-cos")]
mod error;
#[cfg(feature = "services-cos")]
mod lister;
Expand All @@ -30,6 +32,5 @@ mod backend;
pub use backend::CosBuilder as Cos;

mod config;
mod delete;

pub use config::CosConfig;
4 changes: 2 additions & 2 deletions core/src/services/dbfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-dbfs")]
mod core;
#[cfg(feature = "services-dbfs")]
mod delete;
#[cfg(feature = "services-dbfs")]
mod error;
#[cfg(feature = "services-dbfs")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::DbfsBuilder as Dbfs;

mod config;
mod delete;

pub use config::DbfsConfig;
4 changes: 2 additions & 2 deletions core/src/services/dropbox/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ mod backend;
#[cfg(feature = "services-dropbox")]
mod core;
#[cfg(feature = "services-dropbox")]
mod delete;
#[cfg(feature = "services-dropbox")]
mod error;
#[cfg(feature = "services-dropbox")]
mod lister;
Expand All @@ -32,6 +34,4 @@ mod builder;
pub use builder::DropboxBuilder as Dropbox;

mod config;
mod delete;

pub use config::DropboxConfig;
4 changes: 2 additions & 2 deletions core/src/services/fs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-fs")]
mod core;
#[cfg(feature = "services-fs")]
mod delete;
#[cfg(feature = "services-fs")]
mod lister;
#[cfg(feature = "services-fs")]
mod reader;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::FsBuilder as Fs;

mod config;
mod delete;

pub use config::FsConfig;
4 changes: 2 additions & 2 deletions core/src/services/ftp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.

#[cfg(feature = "services-ftp")]
mod delete;
#[cfg(feature = "services-ftp")]
mod err;
#[cfg(feature = "services-ftp")]
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::FtpBuilder as Ftp;

mod config;
mod delete;

pub use config::FtpConfig;
4 changes: 2 additions & 2 deletions core/src/services/gcs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-gcs")]
mod core;
#[cfg(feature = "services-gcs")]
mod delete;
#[cfg(feature = "services-gcs")]
mod error;
#[cfg(feature = "services-gcs")]
mod lister;
Expand All @@ -32,6 +34,4 @@ mod backend;
pub use backend::GcsBuilder as Gcs;

mod config;
mod delete;

pub use config::GcsConfig;
4 changes: 2 additions & 2 deletions core/src/services/gdrive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ mod backend;
#[cfg(feature = "services-gdrive")]
mod core;
#[cfg(feature = "services-gdrive")]
mod delete;
#[cfg(feature = "services-gdrive")]
mod error;
#[cfg(feature = "services-gdrive")]
mod lister;
Expand All @@ -32,6 +34,4 @@ mod builder;
pub use builder::GdriveBuilder as Gdrive;

mod config;
mod delete;

pub use config::GdriveConfig;
4 changes: 2 additions & 2 deletions core/src/services/ghac/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.

#[cfg(feature = "services-ghac")]
mod delete;
#[cfg(feature = "services-ghac")]
mod error;
#[cfg(feature = "services-ghac")]
Expand All @@ -26,6 +28,4 @@ mod backend;
pub use backend::GhacBuilder as Ghac;

mod config;
mod delete;

pub use config::GhacConfig;
4 changes: 2 additions & 2 deletions core/src/services/github/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-github")]
mod core;
#[cfg(feature = "services-github")]
mod delete;
#[cfg(feature = "services-github")]
mod error;
#[cfg(feature = "services-github")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::GithubBuilder as Github;

mod config;
mod delete;

pub use config::GithubConfig;
4 changes: 2 additions & 2 deletions core/src/services/hdfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.

#[cfg(feature = "services-hdfs")]
mod delete;
#[cfg(feature = "services-hdfs")]
mod lister;
#[cfg(feature = "services-hdfs")]
Expand All @@ -28,6 +30,4 @@ mod backend;
pub use backend::HdfsBuilder as Hdfs;

mod config;
mod delete;

pub use config::HdfsConfig;
3 changes: 2 additions & 1 deletion core/src/services/hdfs_native/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.

#[cfg(feature = "services-hdfs-native")]
mod delete;
#[cfg(feature = "services-hdfs-native")]
mod error;
#[cfg(feature = "services-hdfs-native")]
Expand All @@ -30,6 +32,5 @@ mod backend;
pub use backend::HdfsNativeBuilder as HdfsNative;

mod config;
mod delete;

pub use config::HdfsNativeConfig;
4 changes: 2 additions & 2 deletions core/src/services/ipmfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-ipmfs")]
mod backend;
#[cfg(feature = "services-ipmfs")]
mod delete;
#[cfg(feature = "services-ipmfs")]
mod error;
#[cfg(feature = "services-ipmfs")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod builder;
pub use builder::IpmfsBuilder as Ipmfs;

mod config;
mod delete;

pub use config::IpmfsConfig;
4 changes: 2 additions & 2 deletions core/src/services/koofr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-koofr")]
mod core;
#[cfg(feature = "services-koofr")]
mod delete;
#[cfg(feature = "services-koofr")]
mod error;
#[cfg(feature = "services-koofr")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::KoofrBuilder as Koofr;

mod config;
mod delete;

pub use config::KoofrConfig;
6 changes: 2 additions & 4 deletions core/src/services/lakefs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
#[cfg(feature = "services-lakefs")]
mod core;
#[cfg(feature = "services-lakefs")]
mod delete;
#[cfg(feature = "services-lakefs")]
mod error;

#[cfg(feature = "services-lakefs")]
mod lister;

#[cfg(feature = "services-lakefs")]
mod writer;

Expand All @@ -32,6 +32,4 @@ mod backend;
pub use backend::LakefsBuilder as Lakefs;

mod config;
mod delete;

pub use config::LakefsConfig;
4 changes: 2 additions & 2 deletions core/src/services/monoiofs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-monoiofs")]
mod core;
#[cfg(feature = "services-monoiofs")]
mod delete;
#[cfg(feature = "services-monoiofs")]
mod reader;
#[cfg(feature = "services-monoiofs")]
mod writer;
Expand All @@ -28,6 +30,4 @@ mod backend;
pub use backend::MonoiofsBuilder as Monoiofs;

mod config;
mod delete;

pub use config::MonoiofsConfig;
4 changes: 2 additions & 2 deletions core/src/services/obs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#[cfg(feature = "services-obs")]
mod core;
#[cfg(feature = "services-obs")]
mod delete;
#[cfg(feature = "services-obs")]
mod error;
#[cfg(feature = "services-obs")]
mod lister;
Expand All @@ -30,6 +32,4 @@ mod backend;
pub use backend::ObsBuilder as Obs;

mod config;
mod delete;

pub use config::ObsConfig;
Loading

0 comments on commit 0fe3679

Please sign in to comment.