Skip to content

Commit 2a2ecf8

Browse files
committed
Update reference.md
1 parent 041f971 commit 2a2ecf8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎doc/reference.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ This method mounts SPIFFS file system. It must be called before any other
146146
FS APIs are used. Returns *true* if file system was mounted successfully, false
147147
otherwise.
148148

149+
#### format
150+
151+
```c++
152+
SPIFFS.format()
153+
```
154+
155+
Formats the file system. May be called either before or after calling `begin`.
156+
Returns *true* if formatting was successful.
157+
149158
#### open
150159

151160
```c++

0 commit comments

Comments
 (0)