1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-11-05 01:43:40 +03:00

Add a FS::check() optional method (#6340)

* Add a FS::check() optional method

Fixes #2634

Expose any low-level filesystem check operations for users, and add
documentation on this and the gc() methods.

* Update doc w/more gc() info and link
This commit is contained in:
Earle F. Philhower, III
2019-07-26 22:57:27 -07:00
committed by GitHub
parent d2fde8dee0
commit c6bfec900c
5 changed files with 40 additions and 0 deletions

View File

@@ -221,7 +221,9 @@ public:
bool rmdir(const char* path);
bool rmdir(const String& path);
// Low-level FS routines, not needed by most applications
bool gc();
bool check();
friend class ::SDClass; // More of a frenemy, but SD needs internal implementation to get private FAT bits
protected: