snix/tvix/glue/src
Florian Klink c7845f3c88 refactor(tvix/castore): move *Node and Directory to crate root
*Node and Directory are types of the tvix-castore model, not the tvix
DirectoryService model. A DirectoryService only happens to send
Directories.

Move types into individual files in a nodes/ subdirectory, as it's
gotten too cluttered in a single file, and (re-)export all types from
the crate root.

This has the effect that we now cannot poke at private fields directly
from other files inside `crate::directoryservice` (as it's not all in
the same file anymore), but that's a good thing, it now forces us to go
through the proper accessors.

For the same reasons, we currently also need to introduce the `rename`
functions on each *Node directly.

A followup is gonna move the names out of the individual enum kinds, so
we can better represent "unnamed nodes".

Change-Id: Icdb34dcfe454c41c94f2396e8e99973d27db8418
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12199
Reviewed-by: yuka <yuka@yuka.dev>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-08-13 18:39:49 +00:00
..
builtins refactor(tvix/castore): move *Node and Directory to crate root 2024-08-13 18:39:49 +00:00
fetchers refactor(tvix/castore): move *Node and Directory to crate root 2024-08-13 18:39:49 +00:00
tests refactor(tvix): move service addrs into shared clap struct 2024-07-22 13:36:08 +00:00
.skip-subtree refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.rs feat(tvix/glue): support builtin:fetchurl 2024-06-12 22:31:17 +00:00
known_paths.rs feat(tvix/cli): Add derivation file dumping functionality 2024-08-12 14:50:17 +00:00
lib.rs refactor(tvix/eval): Builderize Evaluation 2024-07-06 15:03:46 +00:00
refscan.rs refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
tvix_build.rs refactor(tvix/castore): move *Node and Directory to crate root 2024-08-13 18:39:49 +00:00
tvix_io.rs feat(tvix/eval): add file_type method 2024-06-26 04:51:31 +00:00
tvix_store_io.rs refactor(tvix/castore): move *Node and Directory to crate root 2024-08-13 18:39:49 +00:00