esp_spiffs_info() function
Get information for SPIFFS
Arguments
partition_label
Same label as passed to esp_vfs_spiffs_register
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
Examples
esp_spiffs_info() is referenced by 3 libraries and example projects: