Commit Graph
15 Commits
Author SHA1 Message Date
hathach 78464dd6e3 skip lock FS for File name()/isDirectory()/isOpen() 2020-01-07 12:04:50 +07:00
hathach f8cfa3d727 add _lockFS()/_unlockFS() to Adafruit_LittleFS 2020-01-07 11:50:31 +07:00
Henry Gabryjelski 76987ca28e Rename internal lock/unlock APIs 2020-01-06 08:36:08 -08:00
Henry Gabryjelski 2451ae0cb2 make File::operator bool(void) redirect to isOpen() 2020-01-06 08:25:54 -08:00
Henry Gabryjelski d53387455c Remove now-unused private constructor 2020-01-06 08:25:54 -08:00
Henry Gabryjelski d56df88961 remove deprecation 2020-01-06 08:25:54 -08:00
Henry Gabryjelski 39faf9f823 Also serialize Adafruit_LittleFS_File.
This solution appears to work.  However, it does not
follow all best practices.  For example, the use of
friend declarations, and the need to make the lock/unlock
functions in File public (in order to get friend status).
However, it passes the stress test without errors.
2020-01-06 08:25:53 -08:00
hathach b99cae32b6 fix #276 rename macro FILE_READ/WRITE to enum FILE_O_READ/WRITE
to avoid conflict with other filesystem define
2019-05-30 18:09:07 +07:00
hathach 063a668a04 rename lfs namespace 2019-05-29 17:25:40 +07:00
hathach f2e7ef6fc4 revert to use malloc for lfs file/dir data due to lfs pointer matching 2019-05-29 14:58:52 +07:00
hathach 6ca6be16c9 use static instead of malloc file/dir handle for lfs 2019-05-28 16:58:03 +07:00
hathach 616162fe25 refactor lfs 2019-05-27 22:05:55 +07:00
hathach 86d63af7c8 open, read, write seems to work 2019-05-27 21:18:53 +07:00
hathach 1529ed0380 clean up 2019-05-24 23:54:57 +07:00
hathach 87a3907912 rename FileSystem to Adafruit_LittleFS 2019-05-24 23:51:55 +07:00