diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-19 01:40:38 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-19 01:40:38 +0800 |
| commit | 1e9c97c21f8a4e55420712b054895ff8b4f9a849 (patch) | |
| tree | c6bd37889deb54c024f974f368a9a7d654cad822 /rola-bucket/src/bucket/space.rs | |
| parent | e078163c7cdbbf226c18d3e3afa7268a2878e18b (diff) | |
Implement bucket bind CRUD operations and config loading, along with
CLI integration for listing, setting, and removing bucket bindings.
Diffstat (limited to 'rola-bucket/src/bucket/space.rs')
| -rw-r--r-- | rola-bucket/src/bucket/space.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rola-bucket/src/bucket/space.rs b/rola-bucket/src/bucket/space.rs index ed1311c..353075d 100644 --- a/rola-bucket/src/bucket/space.rs +++ b/rola-bucket/src/bucket/space.rs @@ -10,10 +10,10 @@ impl<Protocol: AsyncBucketTransferProtocol + Send + Sync> SpaceRoot for Bucket<P SpaceRootFindPattern::IncludeFile(FILE_BUCKET_ROOT_CONFIG.into()) } - async fn create_space(path: &std::path::Path) -> Result<(), space_system::SpaceError> { + fn create_space(path: &std::path::Path) -> Result<(), space_system::SpaceError> { let path_str = path.display().to_string(); trace!("Creating bucket at: {}", &path_str); - init_bucket_at(path.into()).await?; + init_bucket_at(path.into())?; trace!("Bucket created at: {}", &path_str); Ok(()) } |
