Function esp_idf_sys::esp_spiffs_info
source ยท pub unsafe extern "C" fn esp_spiffs_info(
partition_label: *const c_char,
total_bytes: *mut usize,
used_bytes: *mut usize,
) -> esp_err_t
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