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; }