Skip to content

LocalDirRemoteFs::list_recursive is not portable on WindowsΒ #9460

@oldoldman

Description

@oldoldman

Hi guys,
Please have look at this function

pub async fn list_recursive(

On Windows , file returned by dir.next_entry() will have \ as its path seperator. But in the rest of the code, cubstored has unix path seperator / in mind. The consequence is LocalDirRemoteFs::list_recursive will return nothing on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugLEGACY. Use the Bug issue type insteadcube storeIssues relating to Cube Storehelp wantedCommunity contributions are welcome.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions