diff --git a/libraries/SDFS/src/SDFS.h b/libraries/SDFS/src/SDFS.h index c1c4f17ad8..ee772cd5cb 100644 --- a/libraries/SDFS/src/SDFS.h +++ b/libraries/SDFS/src/SDFS.h @@ -417,6 +417,16 @@ class SDFSDirImpl : public DirImpl return _size; } + time_t fileTime() override + { + if (!_valid) { + return 0; + } + + return _time; + } + + bool isFile() const override { return _valid ? _isFile : false;