#include <stdint.h>
Go to the source code of this file.
|
| int32_t | LFS_list_directory_json_dict (const char root_directory[], uint16_t offset, int16_t count, char *json_output_buf, uint16_t json_output_buf_size) |
| int8_t | LFS_get_filesystem_stats_json (char *json_output_buf, uint16_t json_output_buf_size) |
| | Generate a JSON string containing filesystem stats and debugging info.
|
◆ LFS_get_filesystem_stats_json()
| int8_t LFS_get_filesystem_stats_json |
( |
char * | json_output_buf, |
|
|
uint16_t | json_output_buf_size ) |
Generate a JSON string containing filesystem stats and debugging info.
- Parameters
-
| json_output_buf | |
| json_output_buf_size | |
- Returns
- 0 on success. Negative LFS error codes. Positive other error codes.
- Note
- Used space may be approximate, due to the nature of LittleFS Copy-on-Write (COW).
◆ LFS_list_directory_json_dict()
| int32_t LFS_list_directory_json_dict |
( |
const char | root_directory[], |
|
|
uint16_t | offset, |
|
|
int16_t | count, |
|
|
char * | json_output_buf, |
|
|
uint16_t | json_output_buf_size ) |