Skip to content

localfs: make it fsspec-compatible #7352

@skshetry

Description

@skshetry

The LocalFileSystem is the only filesystem that is not fsspec-compatible. There's also DvcFileSystem and RepoFileSystem but they are virtual filesystem and needs LocalFileSystem to be first compatible.

https://github.com/iterative/dvc/blob/9b5ccb75549ab950ece23b7938ea0eea637c440d/dvc/fs/local.py#L15

This may help us use localfs in more locations instead of os.path/open functions. And also may get rid of the ugly inheritance chain with FileSystem/FSSpecWrapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions