Can anyone remind me why we ended up with 2 header files? Unless there is a strong need for a separate header, I'd really like to see a single LittleFS.h before we release 1.54.
Separate .cpp files is not an issue.
@Defragster - LFSintegrity.ino needs comments added at the top which explain its purpose and give a clear description to first-time users of how to run it and what to expect. When anyone opens the example, the first ~20 lines of the program are their first impression. A good first impression, which helps them understand the program's purpose is essential. Especially important is for people to quickly understand whether the example is *not* the thing they need for whatever goals they may have.
Perhaps the name should be changed, at least dropping "LFS". Maybe IntegrityTestSuite.ino? The name should be chosen so that first-time users who see it in the File > Examples menu understand it's for testing the library, rather than an example they're meant to use for code to copy into their own application.
Ideally, I'd really like to see more human readable output. For example, imagine someone with no experience using the library chooses LFSintegrity as their first attempt to do something. What is a new user supposed to think of this sort of result?
Code:
:: /B_file.txt RAM_DISK +++ Add [sz 1536 add 1536] @KB/sec 327.02 {81.21} ++ B Verify /B_file.txt 3072B @KB/sec 2357.64
:: /C_file.txt RAM_DISK +++ Add [sz 2048 add 2048] @KB/sec 487.04 {110.97} ++ C Verify /C_file.txt 4096B @KB/sec 2386.95
[ 1.12 M](0.00067 M elap) Awaiting input 0123456789RdwcghkFqvplmusSBbyYxfan+-? loops left 0 >
LFSintegrity.ino has a lot of very good work in it, but for a non-beta release, it needs at least some more work so it doesn't create a bad first-use experience for new users.