card-io-ecg / norfs

Wear-leveling filesystem implementation for embedded Rust
Apache License 2.0
6 stars 0 forks source link

[wip] Directory support #16

Open bugadani opened 1 year ago

bugadani commented 1 year ago

We can simulate directories by allowing / in the file paths. For directory iteration, we'll want to store the directory path hash in the file objects, so we can quickly reject objects. We need to introduce a new object type (Directory metadata) so we can create a hierarchy. Directories can't be renamed because that required renaming all contained files, recursively, but this is probably not that big of a limitation.