docs(tvix/build/protos): clarify content-addressing

This comment is a bit misleading - everything that's not in this field
is referenced in a content-addressed fashion (by their digest).

Change-Id: I5097131530fd188173393063643c057f588ea2c4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12219
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-08-16 18:49:50 +03:00 committed by clbot
parent d3c32f214c
commit 9d20176241
2 changed files with 4 additions and 4 deletions

View file

@ -66,8 +66,8 @@ type BuildRequest struct {
// The list of all root nodes that should be visible in `inputs_dir` at the // The list of all root nodes that should be visible in `inputs_dir` at the
// time of the build. // time of the build.
// As root nodes are content-addressed, no additional signatures are needed // As all references are content-addressed, no additional signatures are
// to substitute / make these available in the build environment. // needed to substitute / make these available in the build environment.
// Inputs MUST be sorted by their names. // Inputs MUST be sorted by their names.
Inputs []*castore_go.Node `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Inputs []*castore_go.Node `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
// The command (and its args) executed as the build script. // The command (and its args) executed as the build script.

View file

@ -47,8 +47,8 @@ option go_package = "code.tvl.fyi/tvix/build-go;buildv1";
message BuildRequest { message BuildRequest {
// The list of all root nodes that should be visible in `inputs_dir` at the // The list of all root nodes that should be visible in `inputs_dir` at the
// time of the build. // time of the build.
// As root nodes are content-addressed, no additional signatures are needed // As all references are content-addressed, no additional signatures are
// to substitute / make these available in the build environment. // needed to substitute / make these available in the build environment.
// Inputs MUST be sorted by their names. // Inputs MUST be sorted by their names.
repeated tvix.castore.v1.Node inputs = 1; repeated tvix.castore.v1.Node inputs = 1;