tvl-depot/tvix/store/protos
Florian Klink 72e82ffcb1 refactor(tvix/store): use bytes for node names and symlink targets
Some paths might use names that are not valid UTF-8. We should be able
to represent them.

We don't actually need to touch the PathInfo structures, as they need to
represent StorePaths, which come with their own harder restrictions,
which can't encode non-UTF8 data.

While this doesn't change any of the wire format of the gRPC messages,
it does however change the interface of tvix_eval::EvalIO - its
read_dir() method does now return a list of Vec<u8>, rather than
SmolStr. Maybe this should be OsString instead?

Change-Id: I821016d9a58ec441ee081b0b9f01c9240723af0b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8974
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
2023-07-21 19:01:49 +00:00
..
castore.go chore(tvix/store/protos): more idiomatic go 2022-12-30 15:18:02 +00:00
castore.pb.go refactor(tvix/store): use bytes for node names and symlink targets 2023-07-21 19:01:49 +00:00
castore.proto refactor(tvix/store): use bytes for node names and symlink targets 2023-07-21 19:01:49 +00:00
castore_test.go feat(tvix/store/protos): implement Directory.Validate() 2022-12-27 21:31:33 +00:00
default.nix refactor(tvix/store): move protobuf build config one level up 2023-01-06 17:57:06 +00:00
go.mod feat(tvix/store/protos): implement Size() and Digest() for Directory 2022-12-27 21:31:33 +00:00
go.sum feat(tvix/store/protos): implement Size() and Digest() for Directory 2022-12-27 21:31:33 +00:00
LICENSE chore(tvix/store): move castore.proto 2022-12-04 10:41:39 +00:00
pathinfo.pb.go chore(3p/sources): Bump channels & overlays 2023-07-08 10:46:31 +00:00
pathinfo.proto refactor(tvix/store): bump CalculateNARResponse.nar_size to u64 2023-05-18 19:29:53 +00:00
rpc_blobstore.pb.go chore(3p/sources): Bump channels & overlays 2023-07-08 10:46:31 +00:00
rpc_blobstore.proto refactor(tvix/store): remove ChunkService 2023-05-11 14:27:57 +00:00
rpc_blobstore_grpc.pb.go refactor(tvix/store): remove ChunkService 2023-05-11 14:27:57 +00:00
rpc_directory.pb.go chore(3p/sources): Bump channels & overlays 2023-07-08 10:46:31 +00:00
rpc_directory.proto feat(tvix/store/protos): add go_package option 2022-12-26 11:38:52 +00:00
rpc_directory_grpc.pb.go chore(3p/sources): Bump channels & overlays 2023-03-21 01:31:48 +00:00
rpc_pathinfo.pb.go chore(3p/sources): Bump channels & overlays 2023-07-08 10:46:31 +00:00
rpc_pathinfo.proto refactor(tvix/store): bump CalculateNARResponse.nar_size to u64 2023-05-18 19:29:53 +00:00
rpc_pathinfo_grpc.pb.go chore(3p/sources): Bump channels & overlays 2023-03-21 01:31:48 +00:00