Skip to content

local path filtering has different semantics #573

@jayvdb

Description

@jayvdb

Describe the bug

I ran into a problem where the local object store wasnt behaving the same as the other object stored. I havent determined if this was intentional or not, but it doesnt feel like it.

When calling list() or list_with_delimiter() with a prefix parameter, the local filesystem backend treated the prefix as a directory path and walked only that directory, instead of properly filtering by prefix using Path::prefix_matches semantics.

To Reproduce

Expected behavior

The local backend behaves similar to the other backends, as much as possible.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions