tvl-depot/tvix/store-go
Florian Klink b921e3a7e3 fix(tvix/*store-go): fix depot checks
This wasn't doing anything, because $(regenerate) was a directory:

/nix/store/cxfxvz76zh9vb7x26h3cx98gkv234jz2-pb-go-check: line 2: /nix/store/my1nd1qvg5iis38rfyn1pm2c7ib7myn5-regenerate: Is a directory

Change-Id: I6ebed1d7b84dceb885c1f25527ce62d973146819
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9959
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
2023-11-05 13:20:55 +00:00
..
testdata chore(tvix): move store golang bindings to tvix/store-go 2023-10-17 19:51:24 +00:00
default.nix fix(tvix/*store-go): fix depot checks 2023-11-05 13:20:55 +00:00
export.go chore(tvix/store-go): rename go module 2023-10-17 20:36:36 +00:00
export_test.go chore(tvix/store-go): rename go module 2023-10-17 20:36:36 +00:00
go.mod chore(tvix/store-go): rename go module 2023-10-17 20:36:36 +00:00
go.sum chore(tvix/store-go): rename go module 2023-10-17 20:36:36 +00:00
LICENSE chore(tvix): move store golang bindings to tvix/store-go 2023-10-17 19:51:24 +00:00
pathinfo.go refactor(tvix/store): move deriver field into narinfo submessage 2023-10-22 17:04:37 +00:00
pathinfo.pb.go chore(tvix/store-go): regenerate proto bindings 2023-11-05 13:20:55 +00:00
pathinfo_test.go refactor(tvix/store): move deriver field into narinfo submessage 2023-10-22 17:04:37 +00:00
pick_next_node_test.go chore(tvix/store-go): rename go module 2023-10-17 20:36:36 +00:00
README.md chore(tvix): move store golang bindings to tvix/store-go 2023-10-17 19:51:24 +00:00
rpc_pathinfo.pb.go refactor(tvix/store): move deriver field into narinfo submessage 2023-10-22 17:04:37 +00:00
rpc_pathinfo_grpc.pb.go refactor(tvix/store): move deriver field into narinfo submessage 2023-10-22 17:04:37 +00:00

store-go

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

They are generated with mg run //tvix:store-go-generate. These files end with .pb.go, and are ensured to be up to date by Ci check.

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