arduino-esp32/libraries/FS/src
lbernstone 882b12c44e
rmdir causes issues in SPIFFS. Fixes #4138, albeit not very cleanly (#4154)
SPIFFS causes crashes if you attempt to rmdir. Since there are no true directories in spiffs, this ought to be a noop. It looks like @me-no-dev worked around this by using unlink instead of rmdir, which works in fatfs and doesn't panic spiffs. This behavior is not universal. In order to get littlefs working, it would be good to get this back to conformity. Rather than digging deep into the upstream spiffs, I just check the mountpoint and noop if it is "/spiffs". So, if the user has changed the mountpoint, this will not work, but I think it's a pretty good tradeoff.
2020-10-01 13:52:24 +03:00
..
FS.cpp Unify time modification on SD and SPIFFS (#738) 2018-03-04 21:20:34 +01:00
FS.h Make Stream functions if File to not wait for timeout 2018-07-05 11:51:58 +02:00
FSImpl.h Unify time modification on SD and SPIFFS (#738) 2018-03-04 21:20:34 +01:00
vfs_api.cpp rmdir causes issues in SPIFFS. Fixes #4138, albeit not very cleanly (#4154) 2020-10-01 13:52:24 +03:00
vfs_api.h Unify time modification on SD and SPIFFS (#738) 2018-03-04 21:20:34 +01:00