Function esp_idf_hal::sys::esp_spiffs_info
source ยท pub unsafe extern "C" fn esp_spiffs_info(
partition_label: *const i8,
total_bytes: *mut usize,
used_bytes: *mut usize,
) -> i32
Expand description
Get information for SPIFFS
@param partition_label Same label as passed to esp_vfs_spiffs_register @param[out] total_bytes Size of the file system @param[out] used_bytes Current used bytes in the file system
@return - ESP_OK if success - ESP_ERR_INVALID_STATE if not mounted