mirror of
https://github.com/esp8266/Arduino.git
synced 2025-11-05 01:43:40 +03:00
Make SPIFFS garbage collection publicly available (#5944)
Original issue: https://github.com/esp8266/Arduino/issues/2870
This commit is contained in:
committed by
Earle F. Philhower, III
parent
9712170276
commit
f950d53d82
@@ -107,7 +107,7 @@ public:
|
||||
File openNextFile();
|
||||
|
||||
String readString() override;
|
||||
|
||||
|
||||
protected:
|
||||
FileImplPtr _p;
|
||||
|
||||
@@ -181,7 +181,7 @@ public:
|
||||
|
||||
bool begin();
|
||||
void end();
|
||||
|
||||
|
||||
bool format();
|
||||
bool info(FSInfo& info);
|
||||
|
||||
@@ -206,6 +206,8 @@ public:
|
||||
bool rmdir(const char* path);
|
||||
bool rmdir(const String& path);
|
||||
|
||||
bool gc();
|
||||
|
||||
protected:
|
||||
FSImplPtr _impl;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user