refactor: remove vendored Go repos, keep only .proto files

This commit is contained in:
2026-04-06 19:41:02 +01:00
parent 2f6dba296f
commit ae1cec2998
113 changed files with 9668 additions and 11 deletions

View File

@@ -0,0 +1,27 @@
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;
}