diff --git a/object_store/src/lib.rs b/object_store/src/lib.rs index 7b1af26ea035..4d8d8f02a0bc 100644 --- a/object_store/src/lib.rs +++ b/object_store/src/lib.rs @@ -716,7 +716,7 @@ pub trait ObjectStore: std::fmt::Display + Send + Sync + Debug + 'static { /// List all the objects with the given prefix. /// - /// Prefixes are evaluated on a path segment basis, i.e. `foo/bar/` is a prefix of `foo/bar/x` but not of + /// Prefixes are evaluated on a path segment basis, i.e. `foo/bar` is a prefix of `foo/bar/x` but not of /// `foo/bar_baz/x`. List is recursive, i.e. `foo/bar/more/x` will be included. /// /// Note: the order of returned [`ObjectMeta`] is not guaranteed @@ -743,7 +743,7 @@ pub trait ObjectStore: std::fmt::Display + Send + Sync + Debug + 'static { /// delimiter. Returns common prefixes (directories) in addition to object /// metadata. /// - /// Prefixes are evaluated on a path segment basis, i.e. `foo/bar/` is a prefix of `foo/bar/x` but not of + /// Prefixes are evaluated on a path segment basis, i.e. `foo/bar` is a prefix of `foo/bar/x` but not of /// `foo/bar_baz/x`. List is not recursive, i.e. `foo/bar/more/x` will not be included. async fn list_with_delimiter(&self, prefix: Option<&Path>) -> Result;