diff --git a/bindings/ruby/src/capability.rs b/bindings/ruby/src/capability.rs index 03116534d57a..005e0722edf5 100644 --- a/bindings/ruby/src/capability.rs +++ b/bindings/ruby/src/capability.rs @@ -89,7 +89,7 @@ define_accessors!(Capability, { list_with_limit: bool, list_with_start_after: bool, list_with_recursive: bool, - list_with_version: bool, + list_with_versioned: bool, presign: bool, presign_read: bool, presign_stat: bool, @@ -137,7 +137,7 @@ pub fn include(gem_module: &RModule) -> Result<(), Error> { list_with_limit, list_with_start_after, list_with_recursive, - list_with_version, + list_with_versioned, presign, presign_read, presign_stat, diff --git a/core/src/layers/capability_check.rs b/core/src/layers/capability_check.rs index 72fa30c769e6..386b927ab06e 100644 --- a/core/src/layers/capability_check.rs +++ b/core/src/layers/capability_check.rs @@ -30,7 +30,7 @@ use std::sync::Arc; /// /// There are two main differences between this checker with the `CorrectnessChecker`: /// 1. This checker provides additional checks for capabilities like write_with_content_type and -/// list_with_version, among others. These capabilities do not affect data integrity, even if +/// list_with_versioned, among others. These capabilities do not affect data integrity, even if /// the underlying storage services do not support them. /// /// 2. OpenDAL doesn't apply this checker by default. Users can enable this layer if they want to