Closed
Description
Hello, Im not sure where to put info about documentation Issue so if this is not the right palce, pls point me to better one...
In here in documentation:
http://esp8266.github.io/Arduino/versions/2.0.0/doc/filesystem.html#directory-object-dir
is missing documentation of direct function fileSize() on object Directory
Directory object (Dir)
The purpose of Dir object is to iterate over files inside a directory. It provides three methods: next(), fileName(), and openFile(mode).
Also Directory example should be changed to this:
Dir dir = SPIFFS.openDir("/data");
while (dir.next()) {
Serial.print(dir.fileName());
Serial.println(dir.fileSize());
}