mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-16 00:43:00 +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:
committed by
GitHub
parent
d2fde8dee0
commit
c6bfec900c
@ -85,6 +85,7 @@ public:
|
||||
virtual bool mkdir(const char* path) = 0;
|
||||
virtual bool rmdir(const char* path) = 0;
|
||||
virtual bool gc() { return true; } // May not be implemented in all file systems.
|
||||
virtual bool check() { return true; } // May not be implemented in all file systems.
|
||||
};
|
||||
|
||||
} // namespace fs
|
||||
|
Reference in New Issue
Block a user