From eb3b685aa3dd7c245fa2990f4113d76d69dddafa Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 2 Feb 2022 00:26:18 -0800 Subject: [PATCH] i think this will build now --- src/mf.proto | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/mf.proto b/src/mf.proto index 470055c..73ac1ab 100644 --- a/src/mf.proto +++ b/src/mf.proto @@ -2,7 +2,10 @@ syntax = "proto3"; option go_package = "git.eeqj.de/sneak/mfer"; -import "google/protobuf/timestamp.proto"; +message Timestamp { + int64 seconds = 1; + int32 nanos = 2; +} message MFFile { enum Version { @@ -40,9 +43,9 @@ message MFFilePath { // optional per-file metadata string mimeType = 301; - google.protobuf.Timestamp mtime = 302; - google.protobuf.Timestamp ctime = 303; - google.protobuf.Timestamp atime = 304; + Timestamp mtime = 302; + Timestamp ctime = 303; + Timestamp atime = 304; } @@ -64,6 +67,6 @@ message MFFileInner { repeated MFFilePath files = 103; // optional manifest attributes 2xx: - google.protobuf.Timestamp createdAt = 201; + Timestamp createdAt = 201; }