tvl-depot/tvix/proto/castore.proto
Florian Klink 64afe59bbe chore(tvix/proto/castore.proto): drop Blob and Chunk
In ripple, this is used for the internal on-disk format, but it's not
suitable for remote consumption.

Change-Id: I327361a2254566ac9216e23eaed36dba8fdd283b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7127
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
2022-11-02 11:48:35 +00:00

30 lines
552 B
Protocol Buffer

// SPDX-FileCopyrightText: edef <edef@unfathomable.blue>
// SPDX-License-Identifier: OSL-3.0 OR MIT OR Apache-2.0
syntax = "proto3";
package fossil.store;
message Directory {
repeated DirectoryNode directories = 1;
repeated FileNode files = 2;
repeated LinkNode links = 3;
}
message DirectoryNode {
string name = 1;
bytes ref = 2;
uint32 size = 3;
}
message FileNode {
string name = 1;
bytes ref = 2;
uint32 size = 3;
bool executable = 4;
}
message LinkNode {
string name = 1;
string target = 2;
}