Files
wfe/wfe-buildkit-protos/proto/github.com/moby/buildkit/cache/contenthash/checksum.proto

28 lines
423 B
Protocol Buffer

syntax = "proto3";
package contenthash;
option go_package = "github.com/moby/buildkit/cache/contenthash";
enum CacheRecordType {
FILE = 0;
DIR = 1;
DIR_HEADER = 2;
SYMLINK = 3;
}
message CacheRecord {
string digest = 1;
CacheRecordType type = 2;
string linkname = 3;
}
message CacheRecordWithPath {
string path = 1;
CacheRecord record = 2;
}
message CacheRecords {
repeated CacheRecordWithPath paths = 1;
}