Skip to main content

Module fs

Module fs 

Source
Expand description

Filesystem abstraction for oveRTOS.

Provides RAII File and Dir handles for reading, writing, and directory traversal. All paths must be null-terminated byte slices (e.g. b"/data/config.bin\0").

Structs§

Dir
RAII directory handle.
DirEntry
A directory entry returned by Dir::read_entry.
File
RAII file handle.

Constants§

O_APPEND
Open flag: all writes append to the end of the file.
O_CREATE
Open flag: create the file if it does not exist.
O_READ
Open flag: open file for reading.
O_WRITE
Open flag: open file for writing.

Functions§

mount
Mount a filesystem.