Skip to content

LocalFileSystem inconsistent with Windows paths #945

@kasuteru

Description

@kasuteru
from fsspec.implementations.local import LocalFileSystem
fs = LocalFileSystem()
fs.ls("C:/")

This lists the content of os.getcwd() instead of C:/. The same for similar commands like

fs.ls("file://C:/")

pretty sure this is a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions