refactor(tvix/castore): add RootNode impl for BTreeMap, mv fs tests

cl/10378 did already move store/fs to castore/fs, but we kept the tests
in tvix-store, as they were populating a PathInfoService to make nodes
appear in the mount root.

Update these tests to now just insert root nodes into a BTreeMap, and
ensure we can use that as a RootNodes too.

Change-Id: Iad7d1ee4f9423eb6e3a1da33f433842c9ae0de1f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10410
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2023-12-23 12:24:14 +02:00 committed by clbot
parent 6af17545bf
commit 8d86d2f409
7 changed files with 305 additions and 306 deletions

View file

@ -47,9 +47,6 @@ test-case = "2.2.2"
tempfile = "3.3.0"
tokio-retry = "0.3.0"
[dev-dependencies.libc]
version = "0.2.144"
[features]
default = ["fuse", "tonic-reflection"]
fuse = ["tvix-castore/fuse"]