You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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());
}
The text was updated successfully, but these errors were encountered:
Hi, thx for feedback and accepting the issue. Im sorry, really new to colaboration in here.. what should I do? make a "PR"? I dont really understand (PR)..
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
Also Directory example should be changed to this:
The text was updated successfully, but these errors were encountered: