Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object_store: Clarify what is a prefix in list() documentation #6520

Merged
merged 1 commit into from
Oct 7, 2024

Commits on Oct 7, 2024

  1. object_store: Clarify what is a prefix in list() documentation

    It should be obvious to reader that `foo/bar/` is not a prefix of
    `foo/bar_baz`, because it is true whether they think in term of
    strings, S3-like API paths, or POSIX-like paths.
    
    What is less clear is that `foo/bar` is also not a prefix of `foo/bar_baz`,
    because this is not true with strings or S3-like API paths, only of
    POSIX-like paths.
    
    Additionally, the definition of paths
    (https://docs.rs/object_store/0.11.0/object_store/path/struct.Path.html)
    says that paths cannot have a trailing `/`.
    progval committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7c7c781 View commit details
    Browse the repository at this point in the history