From 2a2ecf8d949b054e389e7e14f36befb8928140e8 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 31 Aug 2015 10:53:53 +0300 Subject: [PATCH] Update reference.md --- doc/reference.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/reference.md b/doc/reference.md index fd57287dc..8dbe4f293 100644 --- a/doc/reference.md +++ b/doc/reference.md @@ -146,6 +146,15 @@ This method mounts SPIFFS file system. It must be called before any other FS APIs are used. Returns *true* if file system was mounted successfully, false otherwise. +#### format + +```c++ +SPIFFS.format() +``` + +Formats the file system. May be called either before or after calling `begin`. +Returns *true* if formatting was successful. + #### open ```c++