bump protoc version in build, use newer syntax in .proto
This commit is contained in:
16
src/mf.proto
16
src/mf.proto
@@ -26,11 +26,11 @@ message MFFile {
|
||||
// github.com/frankbraun/gosignify
|
||||
|
||||
//detached signature, ascii or binary
|
||||
bytes signature = 201;
|
||||
optional bytes signature = 201;
|
||||
//full GPG key id
|
||||
bytes signer = 202;
|
||||
optional bytes signer = 202;
|
||||
//full GPG signing public key, ascii or binary
|
||||
bytes signingPubKey = 203;
|
||||
optional bytes signingPubKey = 203;
|
||||
}
|
||||
|
||||
message MFFilePath {
|
||||
@@ -42,10 +42,10 @@ message MFFilePath {
|
||||
repeated MFFileChecksum hashes = 201;
|
||||
|
||||
// optional per-file metadata
|
||||
string mimeType = 301;
|
||||
Timestamp mtime = 302;
|
||||
Timestamp ctime = 303;
|
||||
Timestamp atime = 304;
|
||||
optional string mimeType = 301;
|
||||
optional Timestamp mtime = 302;
|
||||
optional Timestamp ctime = 303;
|
||||
optional Timestamp atime = 304;
|
||||
|
||||
}
|
||||
|
||||
@@ -67,6 +67,6 @@ message MFFileInner {
|
||||
repeated MFFilePath files = 103;
|
||||
|
||||
// optional manifest attributes 2xx:
|
||||
Timestamp createdAt = 201;
|
||||
optional Timestamp createdAt = 201;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user