Skip to content

icfs-fatfs: provide similar functionality to std::fs #23

@paulyoung

Description

@paulyoung

Some of the code from the fatfs example could be moved to the crate and adapted to expose functions more like those in std::fs.

For example, the code in mkdir could become something like std::fs::create_dir<P: AsRef<Path>>(path: P) -> Result<()>. We might be able to provide a new platform-specific implementation of DirBuilder, or at least model the implementation on that.

We could also implement create_dir_all and parts of the API that make sense rather than having consumers reimplement the same thing themselves.

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