1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-16 00:43:00 +03:00

Track creation time of LittleFS FS (#7873)

This commit is contained in:
Chris van Marle
2021-03-03 02:50:00 +01:00
committed by GitHub
parent 22442f0873
commit c90c329a48
4 changed files with 43 additions and 0 deletions

View File

@ -115,6 +115,7 @@ public:
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.
virtual time_t getCreationTime() { return 0; } // May not be implemented in all file systems.
// Filesystems *may* support a timestamp per-file, so allow the user to override with
// their own callback for all files on this FS. The default implementation simply