Crate littlefs

Source
Expand description

Rust interface to Little Filesystem suitable for microcontrollers.

This crate provides an interface to LittleFS a small filesystem written in C. Its sibling crate known as littlefs-sys builds and provides the bindings for the underlying C software.

A full description of the underlying filesystem technology can be found at: https://os.mbed.com/blog/entry/littlefs-high-integrity-embedded-fs/ https://github.com/ARMmbed/littlefs

Structs§

Dir
Definition of a directory handle which is used to interact with a directory in the filesystem.
File
Definition of a file handle. File handles are used to interact with a file in the filesystem.
FileOpenFlags
Filename
Wrapper around an array of u8 representing a filename in ASCII encoding.
Info
Definition for filesystem info which is read through directory read calls or file stats.
LittleFs
An instance of the Little filesystem. This struct defines the method of interacting with the filesystem and contains all of the data required for the C software.

Enums§

EntryType
Definition for the type of directory entry which can be a file or directory.
FsError
Definition of errors that might be returned by filesystem functionality.
Whence
Definition of starting location for seeking within a file.

Traits§

Storage
Definition of storage interface required by the filesystem.