esp_littlefs_info() function
Get information for littlefs
Arguments
partition_label
Optional, label of the partition to get info for.
total_bytes
Size of the file system
used_bytes
Current used bytes in the file system
Return value
- ESP_OK if success - ESP_ERR_INVALID_STATE if not mounted