Files
littlefs/tests
Christopher Haster b115ebbac0 Limited bptr decoding to lfs_file_* functions
Bptrs really are a file concept, despite the name (bptr =>
block-pointer). Other bshrubs/btrees do not have bptrs.

Returning decoded bptrs from lfsr_bshrub_lookupnext and friends was a
bit of a hack to make bsprouts (single bptrs) work, but now that we
don't support bsprouts, we don't need this hack anymore.

To avoid code duplication, this does reroute mtree traversal through
lfsr_file_traverse_. Which is a bit weird, but not the worst thing this
codebase has ever done.

Code changes:

           code          stack          ctx
  before: 36492           2608          640
  after:  36460 (-0.1%)   2608 (+0.0%)  640 (+0.0%)
2025-02-11 02:50:38 -06:00
..
2025-02-08 14:53:47 -06:00
2024-08-20 19:59:08 -05:00