littlefs-project / littlefs

A little fail-safe filesystem designed for microcontrollers
BSD 3-Clause "New" or "Revised" License
5.12k stars 790 forks source link

The internal code of littlefs needs better documentation #906

Open andriyndev opened 9 months ago

andriyndev commented 9 months ago

Currently, the internal part of the code of littlefs is poorly documented. At the same time, it's very complex to understand just by analyzing the code. Reading DESIGN.md and SPEC.md partially helps but it's not enough to understand a significant part of the code responsible for internal functionality. This may significantly discourage potential contributors since they'll struggle to understand the code by themself without additional help. The documentation is needed for: