Skip to content

Commit 0fb6a2b

Browse files
committed
Dir object doesn't have operator bool (fix esp8266#1037)
1 parent 0eb0418 commit 0fb6a2b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/filesystem.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ Returns *true* if a file with given path exists, *false* otherwise.
127127
SPIFFS.openDir(path)
128128
```
129129

130-
Opens a directory given its absolute path. Returns a *Dir* object. To check if
131-
directory was opened successfully, use the boolean operator, similar to opening
132-
a file.
130+
Opens a directory given its absolute path. Returns a *Dir* object.
133131

134132
### remove
135133

0 commit comments

Comments
 (0)