1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00

Dir object doesn't have operator bool (fix #1037)

This commit is contained in:
Ivan Grokhotkov
2015-11-30 09:27:01 +03:00
parent 0eb0418687
commit 0fb6a2b3a3

View File

@ -127,9 +127,7 @@ Returns *true* if a file with given path exists, *false* otherwise.
SPIFFS.openDir(path) SPIFFS.openDir(path)
``` ```
Opens a directory given its absolute path. Returns a *Dir* object. To check if Opens a directory given its absolute path. Returns a *Dir* object.
directory was opened successfully, use the boolean operator, similar to opening
a file.
### remove ### remove