Unify time modification on SD and SPIFFS (#738)

* Add access to last write date time

add example

* rename cpp to ino orz

* wrong copy -past

* No comment orz

* Add missing space
This commit is contained in:
Luc
2018-03-04 21:20:34 +01:00
committed by Me No Dev
parent 7141e3e29d
commit adf513fc17
8 changed files with 620 additions and 0 deletions

View File

@ -32,6 +32,15 @@ size_t File::write(uint8_t c)
return _p->write(&c, 1);
}
time_t File::getLastWrite()
{
if (!_p) {
return 0;
}
return _p->getLastWrite();
}
size_t File::write(const uint8_t *buf, size_t size)
{
if (!_p) {