1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

Fix SPIFFS path length check, add notes about FSInfo structure (#1273)

This commit is contained in:
Ivan Grokhotkov
2015-12-22 11:52:50 +03:00
parent d460de8879
commit cda14204fe
2 changed files with 9 additions and 3 deletions

View File

@ -169,8 +169,14 @@ struct FSInfo {
};
```
This is the structure which may be filled using FS::info method. Field names
are self-explanatory.
This is the structure which may be filled using FS::info method.
- `totalBytes` — total size of useful data on the file system
- `usedBytes` — number of bytes used by files
- `blockSize` — SPIFFS block size
- `pageSize` — SPIFFS logical page size
- `maxOpenFiles` — max number of files which may be open simultaneously
- `maxPathLength` — max file name length (including one byte for zero termination)
## Directory object (Dir)