Skip to content

Buffering/caching #24

Description

@paulyoung

fatfs recommends using fscommon::BufStream

Note: it is recommended to wrap the underlying file struct in a buffering/caching object like BufStream from
fscommon crate. For example:

 let buf_stream = BufStream::new(img_file);
 let fs = fatfs::FileSystem::new(buf_stream, fatfs::FsOptions::new())?;

dfinity/cdk-rs#245 and dfinity/cdk-rs#247 appear to be doing something similar that won’t work out of the box here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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