14 lines
353 B
Protocol Buffer
14 lines
353 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package gitpb;
|
||
|
|
||
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
||
|
|
||
|
message Ref {
|
||
|
string hash = 1; // git objectname
|
||
|
google.protobuf.Timestamp ctime = 2; // git creatordate
|
||
|
string refName = 3; // git refname
|
||
|
string author = 4; // git author
|
||
|
string subject = 5; // git subject
|
||
|
}
|