@brief Get file statistics * @param name File name * @param stat Pointer to statistic structure to populate * @retval int Error code */
| 342 | * @retval int Error code |
| 343 | */ |
| 344 | inline int fileStats(const char* fileName, FileStat& stat) |
| 345 | { |
| 346 | CHECK_FS(stat) |
| 347 | return fileSystem->stat(fileName, &stat); |
| 348 | } |
| 349 | |
| 350 | inline int fileStats(const String& fileName, FileStat& stat) |
| 351 | { |