In the castore Rust types, nodes don't have names, they only get names my the mapping happening in a Directory struct. However, in proto land, they do, as Directories are not maps, but three (individually sorted) lists. This has caused some confusion in the past. Let's fix this, by renaming what used to be proto nodes to "Entry". We also use this "entry" in a very similar fashion in the NAR reader, describing something with a name, so this should be more consistent and understandable. There's no change in the wire representation. Change-Id: Ie6184d9a6e00c8114fc2a46bfd2bc90208a1d623 Reviewed-on: https://cl.snix.dev/c/snix/+/30296 Tested-by: besadii Reviewed-by: Vova Kryachko <v.kryachko@gmail.com> Autosubmit: Florian Klink <flokli@flokli.de> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| default.nix | ||