mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
This is one of the truly redeeming features of Rust is that a major refactor of a core structure like this doesn't leave me shaking in my boots -- I feel pretty good that this works since everything passes the CI tests. The original FS implementation did the "stupid C thing" which just creates a fixed lenth field and uses null-terminated C strings. Which actually restricts PDDB entry names to be ascii as valid UTF-8 can encode single-byte nulls. The intention was for names to be fully utf-8 compliant, but in order to do that we have to burn one byte of potential filename length and encode an overall length field for the name strings. This change does that, which both makes the code a bit safer at the expense of losing a character off of the maximum filename length. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| api.rs | ||
| backend.rs | ||
| frontend.rs | ||
| lib.rs | ||
| main.rs | ||
| tests.rs | ||
| ux.rs | ||