tvl-depot/tvix/castore-go
Florian Klink b38badf206 docs(tvix/castore/directorysvc): K/V is not necessarily flat
Some implementations of DirectoryService might not allow retrieval of
intermediate Directory nodes, that are not at the "root".

Think about an object store implementation. The client is doing a
get_recursive anyways to reduce the number of roundtrips.

By documenting the fact we don't need to support looking up intermediate
Directory messages, we can just batch all directories into the same
object, keyed by the root.

Change-Id: I019d720186d03c4125cec9191e93d20586a20963
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10988
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2024-02-20 09:17:38 +00:00
..
castore.go feat(tvix/castore): bump [Directory,File]Node size to u64 2023-11-05 10:57:01 +00:00
castore.pb.go chore(3p/sources): Bump channels & overlays 2024-01-19 21:47:32 +00:00
castore_test.go feat(tvix/castore): bump [Directory,File]Node size to u64 2023-11-05 10:57:01 +00:00
default.nix fix(tvix/*store-go): fix depot checks 2023-11-05 13:20:55 +00:00
go.mod chore(tvix/castore-go): rename go module 2023-10-17 20:25:45 +00:00
go.sum chore(tvix): move castore golang bindings to tvix/castore-go 2023-10-17 19:51:24 +00:00
LICENSE chore(tvix): move castore golang bindings to tvix/castore-go 2023-10-17 19:51:24 +00:00
README.md docs(tvix/*store-go): fix README invocation 2023-12-11 21:47:43 +00:00
rename_node.go chore(tvix): move castore golang bindings to tvix/castore-go 2023-10-17 19:51:24 +00:00
rpc_blobstore.pb.go chore(3p/sources): Bump channels & overlays 2024-01-19 21:47:32 +00:00
rpc_blobstore_grpc.pb.go docs(tvix/castore/protos): remove reference 2023-12-21 16:44:48 +00:00
rpc_directory.pb.go chore(3p/sources): Bump channels & overlays 2024-01-19 21:47:32 +00:00
rpc_directory_grpc.pb.go docs(tvix/castore/directorysvc): K/V is not necessarily flat 2024-02-20 09:17:38 +00:00

castore-go

This directory contains generated golang bindings, both for the tvix-castore data models, as well as the gRPC bindings.

They are generated with mg run //tvix:castore-go:regenerate. These files end with .pb.go, and are ensured to be up to date by a CI check.

Additionally, code useful when interacting with these data structures (ending just with .go) is provided.