Rishka
RISC-V virtual runtime in C/C++ made for ESP32-WROVER
|
Class for file system operations in Rishka applications. More...
#include <fs.h>
Static Public Member Functions | |
static bool | mkdir (const char *path) |
Create a directory with the specified path. More... | |
static bool | rmdir (const char *path) |
Remove a directory with the specified path. More... | |
static bool | remove (const char *path) |
Remove a file with the specified path. More... | |
static bool | exists (const char *path) |
Check if a file or directory exists at the specified path. More... | |
Class for file system operations in Rishka applications.
The FS class provides static methods for performing file system operations, such as creating, deleting, and checking the existence of directories and files.
|
static |
Check if a file or directory exists at the specified path.
This method checks if a file or directory exists at the given path.
path | The path to check. |
|
static |
Create a directory with the specified path.
This method creates a directory with the given path.
path | The path of the directory to create. |
|
static |
Remove a file with the specified path.
This method removes a file with the given path.
path | The path of the file to remove. |
|
static |
Remove a directory with the specified path.
This method removes a directory with the given path.
path | The path of the directory to remove. |