Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_bindings_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version: stable
- uses: golangci/golangci-lint-action@v8
- uses: golangci/golangci-lint-action@v9
with:
version: "v2.1"
working-directory: bindings/go
2 changes: 1 addition & 1 deletion .github/workflows/ci_bindings_swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: ./.github/actions/setup

- name: Setup Swift toolchain
uses: swift-actions/setup-swift@v2
uses: swift-actions/setup-swift@v3
with:
swift-version: 5

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_bindings_zig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # v2.0.5
- uses: mlugg/setup-zig@fa65c4058643678a4e4a9a60513944a7d8d35440 # v2.1.0
with:
version: 0.14.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Check typos
uses: crate-ci/typos@v1.38.1
uses: crate-ci/typos@v1.41.0

licenses:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ jobs:
OPENDAL_WEBSITE_NOT_LATEST: true

- name: Deploy to nightlies for tagged version
uses: burnett01/rsync-deployments@0dc935cdecc5f5e571865e60d2a6cdc673704823
uses: burnett01/rsync-deployments@0c902521b8b9135f0dae7841a01d7d3b19629cb2
if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc') }}
with:
switches: -avzr
Expand All @@ -648,7 +648,7 @@ jobs:
OPENDAL_WEBSITE_BASE_URL: /opendal/opendal-docs-stable/

- name: Deploy to nightlies for stable version
uses: burnett01/rsync-deployments@0dc935cdecc5f5e571865e60d2a6cdc673704823
uses: burnett01/rsync-deployments@0c902521b8b9135f0dae7841a01d7d3b19629cb2
if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc') }}
with:
switches: -avzr --delete
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
with:
toolchain: stable
targets: ${{ matrix.settings.target }}
- uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # v2.0.5
- uses: mlugg/setup-zig@fa65c4058643678a4e4a9a60513944a7d8d35440 # v2.1.0
if: ${{ contains(matrix.settings.target, 'musl') }}
with:
version: 0.14.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
env:
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }}

- uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879
- uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec
id: auth
- name: Publish ${{ matrix.package }}
working-directory: ${{ matrix.package }}
Expand Down
6 changes: 3 additions & 3 deletions core/services/swift/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use log::debug;
use super::SWIFT_SCHEME;
use super::SwiftConfig;
use super::core::*;
use super::deleter::SwfitDeleter;
use super::deleter::SwiftDeleter;
use super::error::parse_error;
use super::lister::SwiftLister;
use super::writer::SwiftWriter;
Expand Down Expand Up @@ -180,7 +180,7 @@ impl Access for SwiftBackend {
type Reader = HttpBody;
type Writer = oio::OneShotWriter<SwiftWriter>;
type Lister = oio::PageLister<SwiftLister>;
type Deleter = oio::OneShotDeleter<SwfitDeleter>;
type Deleter = oio::OneShotDeleter<SwiftDeleter>;

fn info(&self) -> Arc<AccessorInfo> {
self.core.info.clone()
Expand Down Expand Up @@ -230,7 +230,7 @@ impl Access for SwiftBackend {
async fn delete(&self) -> Result<(RpDelete, Self::Deleter)> {
Ok((
RpDelete::default(),
oio::OneShotDeleter::new(SwfitDeleter::new(self.core.clone())),
oio::OneShotDeleter::new(SwiftDeleter::new(self.core.clone())),
))
}

Expand Down
6 changes: 3 additions & 3 deletions core/services/swift/src/deleter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ use super::error::parse_error;
use opendal_core::raw::*;
use opendal_core::*;

pub struct SwfitDeleter {
pub struct SwiftDeleter {
core: Arc<SwiftCore>,
}

impl SwfitDeleter {
impl SwiftDeleter {
pub fn new(core: Arc<SwiftCore>) -> Self {
Self { core }
}
}

impl oio::OneShotDelete for SwfitDeleter {
impl oio::OneShotDelete for SwiftDeleter {
async fn delete_once(&self, path: String, _: OpDelete) -> Result<()> {
let resp = self.core.swift_delete(&path).await?;

Expand Down
Loading