This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 54c0a1f6c fix(services/swift): add missing copy capability flag (#7204)
54c0a1f6c is described below

commit 54c0a1f6cee2e0ac8aa43a922840bacf35ab30ba
Author: Ben Roeder <[email protected]>
AuthorDate: Sun Feb 22 16:46:59 2026 -0800

    fix(services/swift): add missing copy capability flag (#7204)
    
    fix(services/swift): declare copy capability that is already implemented
    
    The copy() method is fully implemented in the SwiftBackend Access trait
    but copy: true was missing from the Capability struct, so callers had
    no way to know the operation was available.
---
 core/services/swift/src/backend.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/services/swift/src/backend.rs 
b/core/services/swift/src/backend.rs
index a9bf8440f..1cca5538b 100644
--- a/core/services/swift/src/backend.rs
+++ b/core/services/swift/src/backend.rs
@@ -152,6 +152,8 @@ impl Builder for SwiftBuilder {
 
                             delete: true,
 
+                            copy: true,
+
                             list: true,
                             list_with_recursive: true,
 

Reply via email to